Skip to content

Commit

Permalink
media-video/mpv: add more Mac OS X fixes wrt bug 577332 to 9999
Browse files Browse the repository at this point in the history
Plus some minor style fixes.

Closes: gentoo#1145
Gentoo-Bug: https://bugs.gentoo.org/577332
Package-Manager: portage-2.2.28

Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
Coacher authored and monsieurp committed Mar 27, 2016
1 parent 6968177 commit 849e1c5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions media-video/mpv/mpv-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ IUSE="aqua +alsa archive bluray cdda +cli coreaudio doc drm dvb +dvd +egl +enca

REQUIRED_USE="
|| ( cli libmpv )
aqua? ( opengl )
egl? ( || ( gbm X wayland ) )
enca? ( iconv )
gbm? ( drm egl )
Expand Down Expand Up @@ -87,7 +88,7 @@ COMMON_DEPEND="
luajit? ( dev-lang/luajit:2 )
)
openal? ( >=media-libs/openal-1.13 )
opengl? ( virtual/opengl )
opengl? ( !aqua? ( virtual/opengl ) )
pulseaudio? ( media-sound/pulseaudio )
rubberband? ( >=media-libs/rubberband-1.8.0 )
samba? ( net-fs/samba )
Expand Down Expand Up @@ -138,7 +139,7 @@ src_configure() {
--confdir="${EPREFIX}"/etc/${PN}
--docdir="${EPREFIX}"/usr/share/doc/${PF}

--disable-gpl3 # Unclear license info. See Gentoo bug 571728.
--disable-gpl3 # Unclear license info. See Gentoo bug 571728.

$(usex cli '' '--disable-cplayer')
$(use_enable libmpv libmpv-shared)
Expand Down Expand Up @@ -215,7 +216,7 @@ src_configure() {
$(use_enable jpeg)
--disable-android
$(use_enable raspberry-pi rpi)
$(use_enable opengl desktop-gl)
$(usex libmpv "$(use_enable opengl plain-gl)" '--disable-plain-gl')

# HWaccels
# Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
Expand All @@ -229,8 +230,8 @@ src_configure() {
$(use_enable v4l audio-input)
$(use_enable dvb dvbin)

# OS-specific features
--disable-apple-remote
# Miscellaneous features
--disable-apple-remote # Needs testing first. See Gentoo bug 577332.
)

if use vaapi && use X; then
Expand Down

0 comments on commit 849e1c5

Please sign in to comment.