commit:     e89984fb5b1df14cdbd5f1f0a1a284fcaa9e359c
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun Mar 13 23:13:29 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 04:20:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89984fb

media-video/mpv: initial Mac OS X support in 9999 wrt bug 577332

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=577332
Closes: https://github.com/gentoo/gentoo/pull/1043

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1043

 media-video/mpv/mpv-9999.ebuild | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 389027f..84a4fde 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -28,11 +28,11 @@ DOCS+=( README.md )
 # See Copyright in source tarball and bug #506946. Waf is BSD, libmpv is ISC.
 LICENSE="GPL-2+ BSD ISC"
 SLOT="0"
-IUSE="+alsa archive bluray cdda +cli doc drm dvb +dvd +egl +enca encode gbm
-       +iconv jack jpeg lcms +libass libav libcaca libguess libmpv lua luajit
-       openal +opengl oss pulseaudio raspberry-pi rubberband samba -sdl selinux
-       test uchardet v4l vaapi vdpau vf-dlopen wayland +X xinerama 
+xscreensaver
-       +xv zsh-completion"
+IUSE="aqua +alsa archive bluray cdda +cli coreaudio doc drm dvb +dvd +egl +enca
+       encode gbm +iconv jack jpeg lcms +libass libav libcaca libguess libmpv 
lua
+       luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba -sdl
+       selinux test uchardet v4l vaapi vdpau vf-dlopen wayland +X xinerama
+       +xscreensaver +xv zsh-completion"
 
 REQUIRED_USE="
        || ( cli libmpv )
@@ -187,10 +187,10 @@ src_configure() {
                $(use_enable openal)
                --disable-opensles
                $(use_enable alsa)
-               --disable-coreaudio
+               $(use_enable coreaudio)
 
                # Video outputs
-               --disable-cocoa
+               $(use_enable aqua cocoa)
                $(use_enable drm)
                $(use_enable gbm)
                $(use_enable wayland)
@@ -200,6 +200,7 @@ src_configure() {
                $(use_enable xv)
                $(use_enable xinerama)
                $(use_enable X xrandr)
+               $(usex opengl "$(use_enable aqua gl-cocoa)" 
'--disable-gl-cocoa')
                $(usex opengl "$(use_enable X gl-x11)" '--disable-gl-x11')
                $(usex egl "$(use_enable X egl-x11)" '--disable-egl-x11')
                $(usex egl "$(use_enable gbm egl-drm)" '--disable-egl-drm')
@@ -217,6 +218,7 @@ src_configure() {
                $(use_enable opengl desktop-gl)
 
                # HWaccels
+               # Automagic Video Toolbox HW acceleration. See Gentoo bug 
577332.
                $(use_enable vaapi vaapi-hwaccel)
                # Automagic VDPAU HW acceleration. See Gentoo bug 558870.
 
@@ -226,6 +228,9 @@ src_configure() {
                $(use_enable v4l libv4l2)
                $(use_enable v4l audio-input)
                $(use_enable dvb dvbin)
+
+               # OS-specific features
+               --disable-apple-remote
        )
 
        if use vaapi && use X; then

Reply via email to