From: James Le Cuirot Date: Mon, 20 Apr 2020 21:53:10 +0000 (+0100) Subject: dev-python/pygame: Add opengl USE flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8efc56d01f005b334bbba54e2de32f3857dfe49e;p=gentoo.git 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 --- diff --git a/dev-python/pygame/pygame-1.9.6-r1.ebuild b/dev-python/pygame/pygame-1.9.6-r1.ebuild index 93b619f76aef..165954000432 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}"