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