commit: 9cd0590e8c0a0937cc498b1951e991e83744a422 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 20 12:55:52 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 20 13:04:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd0590e
media-libs/libkeyfinder: wire up tests Bug: https://bugs.gentoo.org/767709 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild index cb210f7dd8b2..57dab2d17e27 100644 --- a/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild +++ b/media-libs/libkeyfinder/libkeyfinder-2.2.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,12 +12,16 @@ SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P} LICENSE="GPL-3+" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" sci-libs/fftw:3.0 " DEPEND="${RDEPEND}" +BDEPEND=" + test? ( >=dev-cpp/catch-3:0 ) +" src_prepare() { sed -i -e "s/NAMES fftw /NAMES /" \ @@ -27,7 +31,7 @@ src_prepare() { src_configure() { local mycmakeargs=( - -DBUILD_TESTING=OFF + -DBUILD_TESTING=$(usex test) ) cmake_src_configure
