1 |
commit: 0482fba8caa91356911324b51840b4ec864de821 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 25 21:35:24 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 25 21:36:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0482fba8 |
7 |
|
8 |
dev-python/pygame: Add missing libpng and jpeg dependencies |
9 |
|
10 |
Although pygame depends on sdl2-image, it still uses libpng and |
11 |
libjpeg directly. If any of these three are not found then the image |
12 |
extension module is not built. |
13 |
|
14 |
This module, and several others, are actually optional but we |
15 |
unconditionally build them all. Changing this doesn't seem worth the |
16 |
effort, given their automagic nature. |
17 |
|
18 |
Closes: https://bugs.gentoo.org/785313 |
19 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
20 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
21 |
|
22 |
dev-python/pygame/{pygame-2.0.1.ebuild => pygame-2.0.1-r1.ebuild} | 2 ++ |
23 |
1 file changed, 2 insertions(+) |
24 |
|
25 |
diff --git a/dev-python/pygame/pygame-2.0.1.ebuild b/dev-python/pygame/pygame-2.0.1-r1.ebuild |
26 |
similarity index 98% |
27 |
rename from dev-python/pygame/pygame-2.0.1.ebuild |
28 |
rename to dev-python/pygame/pygame-2.0.1-r1.ebuild |
29 |
index 984200871ea..9fc9d5a9db7 100644 |
30 |
--- a/dev-python/pygame/pygame-2.0.1.ebuild |
31 |
+++ b/dev-python/pygame/pygame-2.0.1-r1.ebuild |
32 |
@@ -23,10 +23,12 @@ RESTRICT="!test? ( test )" |
33 |
|
34 |
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] |
35 |
media-libs/freetype |
36 |
+ media-libs/libpng:0= |
37 |
>=media-libs/sdl2-image-1.2.2 |
38 |
>=media-libs/sdl2-mixer-1.2.4 |
39 |
>=media-libs/sdl2-ttf-2.0.6 |
40 |
>=media-libs/smpeg2-0.4.4-r1 |
41 |
+ virtual/jpeg |
42 |
midi? ( media-libs/portmidi ) |
43 |
X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] ) |
44 |
!X? ( >=media-libs/libsdl2-1.2.5[threads] )" |