gthumb: initial add 3.10.3

Make polkit and GI as required distro features
it depends on colord which needs these features to compile

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2021-06-08 08:22:12 +02:00
committed by Khem Raj
parent 79ae59c620
commit 239b1236df
2 changed files with 33 additions and 1 deletions
@@ -0,0 +1,31 @@
SUMMARY = "Image viewer and browser"
LICENSE="GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
GNOMEBASEBUILDCLASS = "meson"
REQUIRED_DISTRO_FEATURES = "polkit gobject-introspection-data"
DEPENDS = " \
glib-2.0-native \
bison-native \
yelp-tools-native \
gtk+3 \
gsettings-desktop-schemas \
zlib \
jpeg \
exiv2 \
colord \
lcms \
libraw \
librsvg \
libsoup-2.4 \
json-glib \
libsecret \
"
inherit features_check gnomebase gnome-help gsettings itstool mime-xdg
SRC_URI[archive.sha256sum] = "dab73f77cc2963ebe90112972c301441d228af3003cfef3f8b7300a6d5d3c212"
FILES_${PN} += "${datadir}/metainfo"
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "x11"
REQUIRED_DISTRO_FEATURES = "x11 polkit gobject-introspection-data"
RDEPENDS_${PN} = " \
evolution-data-server \
@@ -17,6 +17,7 @@ RDEPENDS_${PN} = " \
gnome-font-viewer \
gnome-photos \
gnome-terminal \
gthumb \
libwnck3 \
nautilus \
${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'gnome-system-monitor gnome-disk-utility', '', d)} \