commit:     9c5e578224739c4546f237b5f972a20388226276
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Thu Jan  5 20:41:19 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 14:48:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5e5782

media-video/mpv: disable all opengl bits with USE=-opengl in 9999

This doesn't change generated code with any USE combo,
but makes configure output cleaner with USE=-opengl.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3351

 media-video/mpv/mpv-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 2e79970..0a014a2 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -232,6 +232,7 @@ src_configure() {
                $(use_enable jpeg)
                --disable-android
                $(use_enable raspberry-pi rpi)
+               $(usex opengl "$(use_enable !aqua standard-gl)" 
'--disable-standard-gl')
                --disable-ios-gl
                $(usex libmpv "$(use_enable opengl plain-gl)" 
'--disable-plain-gl')
                --disable-mali-fbdev    # Only available in overlays.

Reply via email to