summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-03-14 02:13:29 +0300
committerIan Delaney <idella4@gentoo.org>2016-03-14 12:20:44 +0800
commite89984fb5b1df14cdbd5f1f0a1a284fcaa9e359c (patch)
treebac31869649da9da821425eb56c89ee037b49db7 /media-video
parentapp-arch/p7zip: bup (diff)
downloadgentoo-e89984fb5b1df14cdbd5f1f0a1a284fcaa9e359c.tar.gz
gentoo-e89984fb5b1df14cdbd5f1f0a1a284fcaa9e359c.tar.bz2
gentoo-e89984fb5b1df14cdbd5f1f0a1a284fcaa9e359c.zip
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
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/mpv-9999.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 389027f54fcf..84a4fdee765c 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