summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb')
-rw-r--r--meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb b/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb
new file mode 100644
index 0000000000..4939f673bb
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.6.0.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Gedit Technology - Source code editing widget"
2SECTION = "gnome"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.1-or-later.txt;md5=310c7c93cf5181c6b0cc8229a1f3c6f6"
5
6DEPENDS = "glib-2.0 gtk+3 libxml2"
7
8inherit gobject-introspection features_check gtk-doc gnomebase
9
10SRC_URI = "git://gitlab.gnome.org/World/gedit/libgedit-gtksourceview.git;protocol=https;branch=main;tag=${PV}"
11SRCREV = "a7bdc39f9fbc10c49ea7468ac1e5bf77385da0c0"
12
13ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
14
15GIR_MESON_OPTION = "gobject_introspection"
16GTKDOC_MESON_OPTION = "gtk_doc"
17
18do_install:prepend() {
19 sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.c
20 sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.h
21}
22
23FILES:${PN} += "${datadir}"
24
25# Most gnome projects have a verison like x.y.z, and they are stored in a folder called x.y
26# Not this one. This has x.y.z version, but stored in folder called x.
27# The original of this function is in gnomebase.bbclass.
28def gnome_verdir(v):
29 return v.split(".")[0]