blob: a336b1909690234be6820bf2abfd917663f1ae8d [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "Portable C library for multiline text editing"
2HOMEPAGE = "http://projects.gnome.org/gtksourceview/"
3
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
6
7DEPENDS = " \
8 fribidi \
9 glib-2.0-native \
Patrick Williamsac13d5f2023-11-24 18:59:46 -060010 fontconfig \
11 gtk4 \
12 libxml2 \
13 libpcre2 \
14 pango \
15"
16
17PNAME = "gtksourceview"
18
19S = "${WORKDIR}/${PNAME}-${PV}"
20
21
22inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache gobject-introspection vala
23
24REQUIRED_DISTRO_FEATURES = "opengl"
25
26SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.10/${PNAME}-${PV}.tar.xz"
27SRC_URI[sha256sum] = "b38a3010c34f59e13b05175e9d20ca02a3110443fec2b1e5747413801bc9c23f"
28
29GIR_MESON_ENABLE_FLAG = 'enabled'
30GIR_MESON_DISABLE_FLAG = 'disabled'
31GTKDOC_MESON_OPTION = "gtk_doc"
32
33PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}"
34PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers"
35
36FILES:${PN} += "${datadir}/gtksourceview-5"