blob: ba425ad6b9a046ac620fe6fac05c53d4aa3db8b9 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "GNOME editor"
2SECTION = "x11/gnome"
3LICENSE = "GPLv2+"
4PR = "r2"
5
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes intltool-native gnome-common-native libice"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05007
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9
Brad Bishop316dfdd2018-06-25 12:45:53 -040010inherit distro_features_check gnome gettext pythonnative
11
12REQUIRED_DISTRO_FEATURES = "x11"
13
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
15 file://0001-workaround-void-pointer-arithmetic.patch \
16 file://0001-Remove-help-directory-from-build.patch \
17 file://0002-suppress-string-format-literal-warning-to-fix-build-.patch \
18 file://0001-tests-document-saver.c-Define-ACCESSPERMS-if-not-def.patch \
19 file://0001-gedit-utils-qualify-handle_builder_error-with-format.patch \
20 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b"
22SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"
23GNOME_COMPRESS_TYPE="bz2"
24
25EXTRA_OECONF = "--disable-scrollkeeper \
26 --enable-gvfs-metadata"
27
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028LDFLAGS += "-lgmodule-2.0 -lICE"
29
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2"
31FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug"