commit:     c285848bf59c8824a90f0f2fc9895efa7e36c70d
Author:     Kalin KOZHUHAROV <me.kalin <AT> gmail <DOT> com>
AuthorDate: Sat Feb 10 21:56:04 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 23:29:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c285848b

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 <AT> thinrope.net>
Signed-off-by: Kalin KOZHUHAROV <kalin <AT> thinrope.net>
Closes: https://bugs.gentoo.org/924218
Closes: https://github.com/gentoo/gentoo/pull/35264
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 media-libs/vidstab/vidstab-1.1.1.ebuild | 5 ++++-
 media-libs/vidstab/vidstab-9999.ebuild  | 5 ++++-
 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

Reply via email to