blob: f43fe2cf53c234eac6ae08b51f2a424f8cc5ccc8 [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 \
10 gnome-common-native \
11 fontconfig \
12 gtk4 \
13 libxml2 \
14 libpcre2 \
15 pango \
16"
17
18PNAME = "gtksourceview"
19
20S = "${WORKDIR}/${PNAME}-${PV}"
21
22
23inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache gobject-introspection vala
24
25REQUIRED_DISTRO_FEATURES = "opengl"
26
27SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.10/${PNAME}-${PV}.tar.xz"
28SRC_URI[sha256sum] = "b38a3010c34f59e13b05175e9d20ca02a3110443fec2b1e5747413801bc9c23f"
29
30GIR_MESON_ENABLE_FLAG = 'enabled'
31GIR_MESON_DISABLE_FLAG = 'disabled'
32GTKDOC_MESON_OPTION = "gtk_doc"
33
34PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}"
35PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers"
36
37FILES:${PN} += "${datadir}/gtksourceview-5"