From 39cf2d17a1d85888d9025a421b22c7b4ca2ea7d9 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Sat, 19 Jan 2019 18:40:14 -0500 Subject: [PATCH] added gnome-screenshot to citadel --- .../packagegroups/packagegroup-gnome.bb | 1 + ...-t-process-or-install-appstream-file.patch | 27 +++++++++++++++++++ .../gnome-screenshot_3.30.0.bb | 16 +++++++++++ 3 files changed, 44 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot/0001-Don-t-process-or-install-appstream-file.patch create mode 100644 meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot_3.30.0.bb diff --git a/meta-citadel/recipes-citadel/packagegroups/packagegroup-gnome.bb b/meta-citadel/recipes-citadel/packagegroups/packagegroup-gnome.bb index 8f4b79a..02bf7a5 100644 --- a/meta-citadel/recipes-citadel/packagegroups/packagegroup-gnome.bb +++ b/meta-citadel/recipes-citadel/packagegroups/packagegroup-gnome.bb @@ -9,6 +9,7 @@ RDEPENDS_${PN} = "\ gnome-desktop \ gnome-bluetooth \ gnome-control-center \ + gnome-screenshot \ gnome-settings-daemon \ gnome-tweaks \ gnome-terminal \ diff --git a/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot/0001-Don-t-process-or-install-appstream-file.patch b/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot/0001-Don-t-process-or-install-appstream-file.patch new file mode 100644 index 0000000..8b6abdd --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot/0001-Don-t-process-or-install-appstream-file.patch @@ -0,0 +1,27 @@ +From e221a3df1cc2ad20f90dfb0b959e88ef1d371afa Mon Sep 17 00:00:00 2001 +From: Bruce Leidl +Date: Sat, 19 Jan 2019 17:25:08 -0500 +Subject: [PATCH] Don't process or install appstream file + +--- + src/meson.build | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/src/meson.build b/src/meson.build +index 1fc6b1b..7812f5c 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -38,13 +38,6 @@ i18n.merge_file('desktop', + install: true, + install_dir: gnome_screenshot_appsdir) + +-i18n.merge_file('desktop', +- input: 'org.gnome.Screenshot.metainfo.xml.in', +- output: 'org.gnome.Screenshot.metainfo.xml', +- po_dir: join_paths(meson.current_source_dir(), '../po'), +- install: true, +- install_dir: gnome_screenshot_appdatadir) +- + service_conf = configuration_data () + service_conf.set('bindir', gnome_screenshot_bindir) + configure_file(input: 'org.gnome.Screenshot.service.in', diff --git a/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot_3.30.0.bb b/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot_3.30.0.bb new file mode 100644 index 0000000..a3c265e --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-screenshot/gnome-screenshot_3.30.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "GNOME Screenshot" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +GNOMEBASEBUILDCLASS = "meson" +inherit gnomebase gettext gobject-introspection + +DEPENDS += "libx11 libxext glib-2.0 gtk+3 libcanberra glib-2.0-native libxml2-native" + +SRC_URI += "file://0001-Don-t-process-or-install-appstream-file.patch" + +SRC_URI[archive.md5sum] = "39a4ba8ef7b6c657a951f0822d218a34" +SRC_URI[archive.sha256sum] = "88031ec38ea823d97ddd6884c9b831acc2b33e2d3fd71112c94a1bdcb71ebd19" + +FILES_${PN} += "${datadir}/dbus-1/services" +