commit:     0de2d19243ad9beba41a00274ed765f024b63b3d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  2 16:46:20 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  2 16:47:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de2d192

media-libs/sdl2-image: fix tests w/ USE=avif

Saving isn't implementde in 2.8.x, just 3.x.

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

 media-libs/sdl2-image/sdl2-image-2.8.8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/sdl2-image/sdl2-image-2.8.8.ebuild 
b/media-libs/sdl2-image/sdl2-image-2.8.8.ebuild
index 3969ec318105..bd16ae40ad24 100644
--- a/media-libs/sdl2-image/sdl2-image-2.8.8.ebuild
+++ b/media-libs/sdl2-image/sdl2-image-2.8.8.ebuild
@@ -107,7 +107,8 @@ src_test() {
        # Match same order as src_configure. The intent is to catch build system
        # bugs, so it may need updating sometimes for legitimate changes in
        # sdl2-image support.
-       local -x SDL_IMAGE_TEST_REQUIRE_{LOAD,SAVE}_AVIF=$(usex avif 1 0)
+       local -x SDL_IMAGE_TEST_REQUIRE_LOAD_AVIF=$(usex avif 1 0)
+       local -x SDL_IMAGE_TEST_REQUIRE_SAVE_AVIF=0
        local -x SDL_IMAGE_TEST_REQUIRE_LOAD_BMP=1
        local -x SDL_IMAGE_TEST_REQUIRE_LOAD_GIF=$(usex gif 1 0)
        local -x SDL_IMAGE_TEST_REQUIRE_{LOAD,SAVE}_JPG=$(usex jpeg 1 0)

Reply via email to