blob: 01d7a072aa721bae83413dbcfd8fc7f61d8ed47c [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
6GNOMEBASEBUILDCLASS = "meson"
7
8DEPENDS = " \
Andrew Geissler220dafd2023-10-04 10:18:08 -05009 appstream-glib-native \
10 desktop-file-utils-native \
11 libgedit-amtk \
12 libgedit-gtksourceview \
Andrew Geissler517393d2023-01-13 08:55:19 -060013 gdk-pixbuf-native \
14 gtk+3 \
15 gsettings-desktop-schemas \
16 libpeas \
17 libsoup \
18 gspell \
Andrew Geissler517393d2023-01-13 08:55:19 -060019 tepl \
20"
21
Andrew Geissler220dafd2023-10-04 10:18:08 -050022inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check mime-xdg gtk-icon-cache python3targetconfig
Andrew Geissler517393d2023-01-13 08:55:19 -060023
24def gnome_verdir(v):
25 return oe.utils.trim_version(v, 1)
26
Andrew Geissler220dafd2023-10-04 10:18:08 -050027SRC_URI[archive.sha256sum] = "a1a6e37f041765dff7227a1f5578b6f49faaf016b1e17e869caf5bfb94c6aa4e"
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"