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