summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-07 22:26:33 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-07 22:31:28 +0200
commitbd2cdd3f2efd2e9ba1e655f22f3e808b15fa191e (patch)
treeaae352505f503ed2d2813fa4da0e5697ab0ca139 /dev-python/PySDL2
parentapp-portage/gentoolkit: enable py3.10 (diff)
downloadgentoo-bd2cdd3f2efd2e9ba1e655f22f3e808b15fa191e.tar.gz
gentoo-bd2cdd3f2efd2e9ba1e655f22f3e808b15fa191e.tar.bz2
gentoo-bd2cdd3f2efd2e9ba1e655f22f3e808b15fa191e.zip
dev-python/PySDL2: requires at least one audio format for tests
Closes: https://bugs.gentoo.org/807034 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PySDL2')
-rw-r--r--dev-python/PySDL2/PySDL2-0.9.8.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/PySDL2/PySDL2-0.9.8.ebuild b/dev-python/PySDL2/PySDL2-0.9.8.ebuild
index b6a18cc3ce79..e3b42a45db2c 100644
--- a/dev-python/PySDL2/PySDL2-0.9.8.ebuild
+++ b/dev-python/PySDL2/PySDL2-0.9.8.ebuild
@@ -33,7 +33,13 @@ DEPEND="
media-libs/libsdl2[joystick,sound,video]
media-libs/sdl2-gfx
media-libs/sdl2-image[gif,jpeg,png,tiff,webp]
- media-libs/sdl2-mixer
+ || (
+ media-libs/sdl2-mixer[flac]
+ media-libs/sdl2-mixer[midi]
+ media-libs/sdl2-mixer[mod]
+ media-libs/sdl2-mixer[mp3]
+ media-libs/sdl2-mixer[opus]
+ )
media-libs/sdl2-ttf
)"