media-video/ffmpeg: do not build doc for non-native abis; they are overwritten when...
authorAlexis Ballier <aballier@gentoo.org>
Mon, 15 Feb 2016 11:24:56 +0000 (12:24 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 15 Feb 2016 12:17:15 +0000 (13:17 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
media-video/ffmpeg/ffmpeg-9999.ebuild

index c6c909c76f6f9fb9a58eff0e0274ca2bc4aa9acd..830fa7780e3219392ff6e4ec66db2d3569f468ed 100644 (file)
@@ -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)" \