diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-05 00:16:53 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-05 01:19:50 +0200 |
commit | 7468fde5921ddd9a9cd9a5510a656416ad42be2e (patch) | |
tree | 0466e739b9fc8fca327ebdefc1b2fbf6ba939b79 /media-gfx/gnome-photos | |
parent | gnome-extra/gnome-weather: fix support for unittests (diff) | |
download | gentoo-7468fde5921ddd9a9cd9a5510a656416ad42be2e.tar.gz gentoo-7468fde5921ddd9a9cd9a5510a656416ad42be2e.tar.bz2 gentoo-7468fde5921ddd9a9cd9a5510a656416ad42be2e.zip |
media-gfx/gnome-photos: add missing gexiv2 dependency and gegl[jpeg2k]
gexiv2 is listed in configure while jpeg2k support in gegl is required at runtime.
Fix unittest support.
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-gfx/gnome-photos')
-rw-r--r-- | media-gfx/gnome-photos/gnome-photos-3.20.3.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/media-gfx/gnome-photos/gnome-photos-3.20.3.ebuild b/media-gfx/gnome-photos/gnome-photos-3.20.3.ebuild index b32632582ddc..75280f0c7d69 100644 --- a/media-gfx/gnome-photos/gnome-photos-3.20.3.ebuild +++ b/media-gfx/gnome-photos/gnome-photos-3.20.3.ebuild @@ -21,7 +21,8 @@ RDEPEND=" gnome-base/gnome-desktop:3= >=dev-libs/libgdata-0.15.2:0=[gnome-online-accounts] media-libs/babl - >=media-libs/gegl-0.3.5:0.3 + >=media-libs/gegl-0.3.5:0.3[jpeg2k] + media-libs/gexiv2 >=media-libs/grilo-0.3.0:0.3= >=media-libs/libpng-1.6:0= >=media-plugins/grilo-plugins-0.2.6:0.2[upnp-av] @@ -36,11 +37,17 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.50.1 dev-util/itstool virtual/pkgconfig - test? ( dev-util/dogtail ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) " # eautoreconf # app-text/yelp-tools +python_check_deps() { + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + pkg_setup() { use test && python-any-r1_pkg_setup } |