Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "GNOME editor" |
| 2 | SECTION = "x11/gnome" |
| 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" |
| 5 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 6 | |
| 7 | DEPENDS = " \ |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 8 | appstream-glib-native \ |
| 9 | desktop-file-utils-native \ |
| 10 | libgedit-amtk \ |
| 11 | libgedit-gtksourceview \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | gdk-pixbuf-native \ |
| 13 | gtk+3 \ |
| 14 | gsettings-desktop-schemas \ |
| 15 | libpeas \ |
| 16 | libsoup \ |
| 17 | gspell \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 18 | tepl \ |
| 19 | " |
| 20 | |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 21 | inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc gettext features_check mime-xdg gtk-icon-cache python3targetconfig |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 22 | |
| 23 | def gnome_verdir(v): |
| 24 | return oe.utils.trim_version(v, 1) |
| 25 | |
Patrick Williams | 3965356 | 2024-03-01 08:54:02 -0600 | [diff] [blame] | 26 | SRC_URI += "file://0001-fix-for-clang-18.patch" |
| 27 | SRC_URI[archive.sha256sum] = "c0866412bad147ebace2d282ffcbb5a0e9a304b20fd55640bee21c81e6d501ef" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 28 | |
| 29 | # gobject-introspection is mandatory and cannot be configured |
| 30 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
| 31 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 32 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 33 | do_install:prepend() { |
| 34 | sed -i -e 's|${B}||g' ${B}/plugins/filebrowser/gedit-file-browser-enum-types.c |
| 35 | } |
| 36 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 37 | GIR_MESON_OPTION = "" |
| 38 | |
| 39 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 40 | |
| 41 | PACKAGES += "${PN}-python" |
| 42 | |
| 43 | FILES:${PN} += " \ |
| 44 | ${datadir}/dbus-1 \ |
| 45 | ${datadir}/metainfo \ |
| 46 | " |
| 47 | |
| 48 | FILES:${PN}-python += " \ |
| 49 | ${PYTHON_SITEPACKAGES_DIR} \ |
| 50 | " |
| 51 | |
| 52 | RDEPENDS:${PN} += "gsettings-desktop-schemas" |
| 53 | RRECOMMENDS:${PN} += "source-code-pro-fonts" |