Skip to content

Commit

Permalink
dev-python/pygame: Add missing libpng and jpeg dependencies
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
chewi committed Apr 25, 2021
1 parent 2d6a701 commit 0482fba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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] )"
Expand Down

0 comments on commit 0482fba

Please sign in to comment.