commit:     7bb4635266f6c9012e7b4090288a2b47df74416b
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue Dec 22 17:04:38 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 12:47:12 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb46352

media-video/mpv: explicitly disable unsupported options

Similar idea was submitted by Vindex17 in PR #318.

This includes static build and APIs from MacOS and Windows.

Package-Manager: portage-2.2.24

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

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 87477cf..637d7f6 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -161,6 +161,7 @@ src_configure() {
                $(use_enable libmpv libmpv-shared)
 
                --disable-libmpv-static
+               --disable-static-build
                --disable-build-date    # Create reproducible build
                --disable-optimize              # Do not add '-O2' to CFLAGS
                --disable-debug-build   # Do not add '-g' to CFLAGS
@@ -201,8 +202,12 @@ src_configure() {
                $(use_enable jack)
                $(use_enable openal)
                $(use_enable alsa)
+               --disable-coreaudio
+               --disable-dsound
+               --disable-wasapi
 
                # Video outputs
+               --disable-cocoa
                $(use_enable wayland)
                $(use_enable X x11)
                $(use_enable xscreensaver xss)

Reply via email to