commit:     32203e6ae847b9a5add486f9c799c24726b54c45
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 16:25:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 16:25:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32203e6a

media-libs/sdl2-image: add REQUIRED_USE for tests

It seems to gracefully handle XPM missing so maybe could be made to do that
for JPEG + PNG, but then we're not really testing much, so...

Closes: https://bugs.gentoo.org/927239
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/sdl2-image/sdl2-image-2.8.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/sdl2-image/sdl2-image-2.8.2.ebuild 
b/media-libs/sdl2-image/sdl2-image-2.8.2.ebuild
index 630c584acce1..36b5b6708dc0 100644
--- a/media-libs/sdl2-image/sdl2-image-2.8.2.ebuild
+++ b/media-libs/sdl2-image/sdl2-image-2.8.2.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="avif gif jpeg jpegxl png static-libs test tiff webp"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( jpeg png )"
 
 RDEPEND="
        >=media-libs/libsdl2-2.0.9[${MULTILIB_USEDEP}]

Reply via email to