summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-06-01 18:28:11 +0300
committerGöktürk Yüksek <gokturk@gentoo.org>2016-06-04 09:40:26 -0400
commita5e518dbaccab4c4a8148993acf525e46e730dea (patch)
tree248487a3eb0278f529934cb847d531f25114041c /media-gfx
parentdev-libs/libressl: remove older versions (diff)
downloadgentoo-a5e518dbaccab4c4a8148993acf525e46e730dea.tar.gz
gentoo-a5e518dbaccab4c4a8148993acf525e46e730dea.tar.bz2
gentoo-a5e518dbaccab4c4a8148993acf525e46e730dea.zip
media-gfx/imv: added missing deps for the test phase #583836
Gentoo-Bug: https://bugs.gentoo.org/583836 Closes: https://github.com/gentoo/gentoo/pull/1576 Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imv/imv-2.1.2.ebuild6
-rw-r--r--media-gfx/imv/imv-9999.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/media-gfx/imv/imv-2.1.2.ebuild b/media-gfx/imv/imv-2.1.2.ebuild
index 0200046ec2cf..8886b14dea62 100644
--- a/media-gfx/imv/imv-2.1.2.ebuild
+++ b/media-gfx/imv/imv-2.1.2.ebuild
@@ -13,7 +13,8 @@ SRC_URI="https://github.com/eXeC64/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="test"
+IUSE="test"
+RESTRICT="test" # this is fixed in >imv-2.1.2
RDEPEND="
!sys-apps/renameutils
@@ -23,7 +24,8 @@ RDEPEND="
media-libs/freeimage
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
pkg_postinst() {
fdo-mime_desktop_database_update
diff --git a/media-gfx/imv/imv-9999.ebuild b/media-gfx/imv/imv-9999.ebuild
index 169f9efcb8d0..8d161ee6b54f 100644
--- a/media-gfx/imv/imv-9999.ebuild
+++ b/media-gfx/imv/imv-9999.ebuild
@@ -13,6 +13,7 @@ EGIT_REPO_URI="https://github.com/eXeC64/imv.git"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
+IUSE="test"
RDEPEND="
!sys-apps/renameutils
@@ -22,7 +23,8 @@ RDEPEND="
media-libs/freeimage
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cmocka )"
pkg_postinst() {
fdo-mime_desktop_database_update