summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-04-20 22:53:10 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-04-20 22:53:10 +0100
commit8efc56d01f005b334bbba54e2de32f3857dfe49e (patch)
treed134ac551e0b0b456d780f457367e3622f03c265 /dev-python/pygame
parentx11-terms/aterm: Drop old versions (diff)
downloadgentoo-8efc56d01f005b334bbba54e2de32f3857dfe49e.tar.gz
gentoo-8efc56d01f005b334bbba54e2de32f3857dfe49e.tar.bz2
gentoo-8efc56d01f005b334bbba54e2de32f3857dfe49e.zip
dev-python/pygame: Add opengl USE flag
Consumers of pygame sometimes require SDL to have OpenGL support. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-python/pygame')
-rw-r--r--dev-python/pygame/pygame-1.9.6-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/pygame/pygame-1.9.6-r1.ebuild b/dev-python/pygame/pygame-1.9.6-r1.ebuild
index 93b619f76ae..16595400043 100644
--- a/dev-python/pygame/pygame-1.9.6-r1.ebuild
+++ b/dev-python/pygame/pygame-1.9.6-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc examples midi X"
+IUSE="doc examples midi opengl X"
DEPEND="dev-python/numpy[${PYTHON_USEDEP}]
>=media-libs/sdl-image-1.2.2[png,jpeg]
@@ -21,7 +21,7 @@ DEPEND="dev-python/numpy[${PYTHON_USEDEP}]
>=media-libs/sdl-ttf-2.0.6
>=media-libs/smpeg-0.4.4-r1
midi? ( media-libs/portmidi )
- X? ( >=media-libs/libsdl-1.2.5[X,video] )
+ X? ( >=media-libs/libsdl-1.2.5[opengl?,video,X] )
!X? ( >=media-libs/libsdl-1.2.5 )"
RDEPEND="${DEPEND}"