Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 1 | SUMMARY = "Gedit Technology - Source code editing widget" |
| 2 | SECTION = "gnome" |
| 3 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" |
| 5 | |
| 6 | DEPENDS = "glib-2.0 gtk+3 libxml2" |
| 7 | |
| 8 | inherit meson pkgconfig gobject-introspection features_check gtk-doc |
| 9 | |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 10 | SRC_URI = "git://github.com/gedit-technology/libgedit-gtksourceview.git;protocol=https;branch=main" |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 11 | S = "${WORKDIR}/git" |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 12 | SRCREV = "b271a625ca057cc3fa7d5ac83285c5d4e038202e" |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 13 | |
| 14 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 15 | |
| 16 | GIR_MESON_OPTION = "gobject_introspection" |
| 17 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 18 | |
| 19 | do_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 | |
| 24 | FILES:${PN} += "${datadir}" |