commit:     0482fba8caa91356911324b51840b4ec864de821
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 21:35:24 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 21:36:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0482fba8

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 <AT> gentoo.org>

 dev-python/pygame/{pygame-2.0.1.ebuild => pygame-2.0.1-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/pygame/pygame-2.0.1.ebuild 
b/dev-python/pygame/pygame-2.0.1-r1.ebuild
similarity index 98%
rename from dev-python/pygame/pygame-2.0.1.ebuild
rename to dev-python/pygame/pygame-2.0.1-r1.ebuild
index 984200871ea..9fc9d5a9db7 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] )"

Reply via email to