commit: dc035533dec3a10c2fb03985135b096fde6742a8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 21 17:46:52 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 18:04:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc035533
media-libs/libsidplayfp: wire up tests Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libsidplayfp/libsidplayfp-2.11.0.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/media-libs/libsidplayfp/libsidplayfp-2.11.0.ebuild b/media-libs/libsidplayfp/libsidplayfp-2.11.0.ebuild index 4eefc5282af5..c93d38355e5d 100644 --- a/media-libs/libsidplayfp/libsidplayfp-2.11.0.ebuild +++ b/media-libs/libsidplayfp/libsidplayfp-2.11.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,10 @@ SRC_URI="https://downloads.sourceforge.net/sidplay-residfp/${PN}/$(ver_cut 1-2)/ LICENSE="GPL-2" SLOT="0/6" KEYWORDS="amd64 ~hppa ~riscv x86" -IUSE="static-libs" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-libs/unittest++ )" src_prepare() { default @@ -20,7 +23,8 @@ src_prepare() { src_configure() { econf \ - $(use_enable static-libs static) + $(use_enable static-libs static) \ + $(use_enable test tests) } src_install() {
