media-video/ffmpeg: add support for zeromq
authorAnton Schubert <ischluff@mailbox.org>
Sat, 18 Feb 2017 15:59:08 +0000 (16:59 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 21 Feb 2017 12:14:07 +0000 (13:14 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3721

media-video/ffmpeg/ffmpeg-9999.ebuild
media-video/ffmpeg/metadata.xml

index 151504aadffbd2710c85bc7815d295ecf5ba7a89..71ed7c1125bc1839dac8ade3208412ba8b309a5b 100644 (file)
@@ -81,7 +81,7 @@ FFMPEG_FLAG_MAP=(
                # libavfilter options
                bs2b:libbs2b chromaprint flite:libflite frei0r
                fribidi:libfribidi fontconfig ladspa libass truetype:libfreetype
-               rubberband:librubberband sofalizer:netcdf zimg:libzimg
+               rubberband:librubberband sofalizer:netcdf zeromq:libzmq zimg:libzimg
                # libswresample options
                libsoxr
                # Threads; we only support pthread for now but ffmpeg supports more
@@ -241,6 +241,7 @@ RDEPEND="
                >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
        )
        xcb? ( >=x11-libs/libxcb-1.4[${MULTILIB_USEDEP}] )
+       zeromq? ( >=net-libs/zeromq-4.1.6 )
        zimg? ( >=media-libs/zimg-2.4:=[${MULTILIB_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
        zvbi? ( >=media-libs/zvbi-0.2.35[${MULTILIB_USEDEP}] )
@@ -340,7 +341,7 @@ multilib_src_configure() {
 
        # (temporarily) disable non-multilib deps
        if ! multilib_is_native_abi; then
-               for i in frei0r netcdf ; do
+               for i in frei0r netcdf libzmq ; do
                        myconf+=( --disable-${i} )
                done
        fi
index 85766b4b87dac15be4995e1b4287a2975a3a9eb1..b8773a83a673a6f12ae7c1689b7ee6ee159b303f 100644 (file)
@@ -55,6 +55,7 @@
        <flag name="vpx">Enables vp8 codec support using libvpx: Decoding vp8 does not require this to be enabled but libvpx can also be used for decoding; encoding vp8 requires this useflag to be enabled though.</flag>
        <flag name="webp">Enables WebP encoding with <pkg>media-libs/libwebp</pkg>.</flag>
        <flag name="x265">Enables HEVC encoding with <pkg>media-libs/x265</pkg>.</flag>
+       <flag name="zeromq">Enables <pkg>net-libs/zeromq</pkg> support with the zmq/azmq filters.</flag>
        <flag name="zimg">Enables <pkg>media-libs/zimg</pkg> based scale filter.</flag>
        <flag name="zvbi">Enables <pkg>media-libs/zvbi</pkg> based teletext decoder.</flag>
   </use>