summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalin KOZHUHAROV <me.kalin@gmail.com>2024-02-10 22:56:04 +0100
committerCraig Andrews <candrews@gentoo.org>2024-02-10 18:29:26 -0500
commitc285848bf59c8824a90f0f2fc9895efa7e36c70d (patch)
tree2e073004c3979c9111632d8d51763b7148a11c15 /media-libs/vidstab
parentnet-wireless/iwd: add 2.14 (diff)
downloadgentoo-c285848bf59c8824a90f0f2fc9895efa7e36c70d.tar.gz
gentoo-c285848bf59c8824a90f0f2fc9895efa7e36c70d.tar.bz2
gentoo-c285848bf59c8824a90f0f2fc9895efa7e36c70d.zip
media-libs/vidstab: adding test dependency
dev-lang/orc is required, iff FEATURES=test therefore introducing USE=test and adding this dependency. Merged from https://github.com/thinrope/pkalin/commit/8af40010830b5bf64d30a5ec7859171687ec77f2 Reported-by: Kalin KOZHUHAROV <kalin@thinrope.net> Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net> Closes: https://bugs.gentoo.org/924218 Closes: https://github.com/gentoo/gentoo/pull/35264 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-libs/vidstab')
-rw-r--r--media-libs/vidstab/vidstab-1.1.1.ebuild5
-rw-r--r--media-libs/vidstab/vidstab-9999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/vidstab/vidstab-1.1.1.ebuild b/media-libs/vidstab/vidstab-1.1.1.ebuild
index ec0ef0590a9a..beb76c153eed 100644
--- a/media-libs/vidstab/vidstab-1.1.1.ebuild
+++ b/media-libs/vidstab/vidstab-1.1.1.ebuild
@@ -19,7 +19,10 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-IUSE="openmp cpu_flags_x86_sse2"
+IUSE="openmp cpu_flags_x86_sse2 test"
+
+RESTRICT="!test? ( test )"
+DEPEND="test? ( dev-lang/orc )"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
diff --git a/media-libs/vidstab/vidstab-9999.ebuild b/media-libs/vidstab/vidstab-9999.ebuild
index 49d8734f589d..40a765ac64a2 100644
--- a/media-libs/vidstab/vidstab-9999.ebuild
+++ b/media-libs/vidstab/vidstab-9999.ebuild
@@ -19,7 +19,10 @@ fi
LICENSE="GPL-2+"
SLOT="0"
-IUSE="openmp cpu_flags_x86_sse2"
+IUSE="openmp cpu_flags_x86_sse2 test"
+
+RESTRICT="!test? ( test )"
+DEPEND="test? ( dev-lang/orc )"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp