blob: 0ebc22acbde8b6b02f1b5193d073450812a5e806 [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001SUMMARY = "Gedit Technology - Source code editing widget"
2SECTION = "gnome"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
5
6DEPENDS = "glib-2.0 gtk+3 libxml2"
7
8inherit meson pkgconfig gobject-introspection features_check gtk-doc
9
Patrick Williams39653562024-03-01 08:54:02 -060010SRC_URI = "git://github.com/gedit-technology/libgedit-gtksourceview.git;protocol=https;branch=main"
Andrew Geissler220dafd2023-10-04 10:18:08 -050011S = "${WORKDIR}/git"
Patrick Williams39653562024-03-01 08:54:02 -060012SRCREV = "b271a625ca057cc3fa7d5ac83285c5d4e038202e"
Andrew Geissler220dafd2023-10-04 10:18:08 -050013
14ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
15
16GIR_MESON_OPTION = "gobject_introspection"
17GTKDOC_MESON_OPTION = "gtk_doc"
18
19do_install:prepend() {
20 sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.c
21 sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.h
22}
23
24FILES:${PN} += "${datadir}"