summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-04-25 22:35:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-04-25 22:36:31 +0100
commit0482fba8caa91356911324b51840b4ec864de821 (patch)
treef397a53cba5860fa7fc3105ccc384c8476131df4
parentdev-util/buildbot: Version bump to 3.1.0, update 9999 deps (diff)
downloadgentoo-0482fba8.tar.gz
gentoo-0482fba8.tar.bz2
gentoo-0482fba8.zip
dev-python/pygame: Add missing libpng and jpeg dependencies
Although pygame depends on sdl2-image, it still uses libpng and libjpeg directly. If any of these three are not found then the image extension module is not built. This module, and several others, are actually optional but we unconditionally build them all. Changing this doesn't seem worth the effort, given their automagic nature. Closes: https://bugs.gentoo.org/785313 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--dev-python/pygame/pygame-2.0.1-r1.ebuild (renamed from dev-python/pygame/pygame-2.0.1.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/pygame/pygame-2.0.1.ebuild b/dev-python/pygame/pygame-2.0.1-r1.ebuild
index 984200871ea6..9fc9d5a9db70 100644
--- a/dev-python/pygame/pygame-2.0.1.ebuild
+++ b/dev-python/pygame/pygame-2.0.1-r1.ebuild
@@ -23,10 +23,12 @@ RESTRICT="!test? ( test )"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
media-libs/freetype
+ media-libs/libpng:0=
>=media-libs/sdl2-image-1.2.2
>=media-libs/sdl2-mixer-1.2.4
>=media-libs/sdl2-ttf-2.0.6
>=media-libs/smpeg2-0.4.4-r1
+ virtual/jpeg
midi? ( media-libs/portmidi )
X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] )
!X? ( >=media-libs/libsdl2-1.2.5[threads] )"