commit:     2b8488497cc29da9301c84812f504d813f816bff
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 24 09:06:31 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 24 09:06:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b848849

media-libs/zxing-cpp: Drop tests due to upstream use of FetchContent

Upstream commits:
fad045ff2e53e2a69f7b091cfe77e8bea31222b6
c0c3e0b306d78efae9f0af02e3cc20126ff8ebe4

Closes: https://bugs.gentoo.org/793173
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild 
b/media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild
index 8f32a4b24e1..c65c08e82a3 100644
--- a/media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild
+++ b/media-libs/zxing-cpp/zxing-cpp-1.2.0.ebuild
@@ -12,14 +12,13 @@ 
SRC_URI="https://github.com/nu-book/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
+IUSE=""
 
 src_configure() {
        local mycmakeargs=(
                -DBUILD_EXAMPLES=OFF # nothing is installed
-               -DBUILD_BLACKBOX_TESTS=$(usex test)
+               -DBUILD_BLACKBOX_TESTS=OFF # FIXME: FetchContent.cmake module 
usage
+               -DBUILD_UNIT_TESTS=OFF # for both tests options. no thanks. bug 
#793173
        )
        cmake_src_configure
 }

Reply via email to