commit:     d2e30b162862d3868d227e5e4774f373439d750e
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 11:24:56 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 12:17:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e30b16

media-video/ffmpeg: do not build doc for non-native abis; they are overwritten 
when installed anyway.

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index c6c909c..830fa77 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -63,7 +63,7 @@ fi
 # or $(use_enable foo foo) if no :bar is set.
 # foo is added to IUSE.
 FFMPEG_FLAG_MAP=(
-               +bzip2:bzlib cpudetection:runtime-cpudetect debug doc gcrypt 
gnutls gmp
+               +bzip2:bzlib cpudetection:runtime-cpudetect debug gcrypt gnutls 
gmp
                +gpl +hardcoded-tables +iconv lzma +network openssl +postproc
                samba:libsmbclient sdl:ffplay sdl vaapi vdpau X:xlib xcb:libxcb
                xcb:libxcb-shm xcb:libxcb-xfixes +zlib
@@ -97,7 +97,7 @@ FFMPEG_ENCODER_FLAG_MAP=(
 )
 
 IUSE="
-       alsa +encode examples jack libressl oss pic static-libs test v4l
+       alsa doc +encode examples jack libressl oss pic static-libs test v4l
        ${FFMPEG_FLAG_MAP[@]%:*}
        ${FFMPEG_ENCODER_FLAG_MAP[@]%:*}
 "
@@ -410,6 +410,9 @@ multilib_src_configure() {
                esac
        fi
 
+       # doc
+       myconf+=( $(multilib_native_use_enable doc) )
+
        set -- "${S}/configure" \
                --prefix="${EPREFIX}/usr" \
                --libdir="${EPREFIX}/usr/$(get_libdir)" \

Reply via email to