commit:     0f11e64e31b2751b7fc09416e531e14140f3620a
Author:     Anton Schubert <ischluff <AT> mailbox <DOT> org>
AuthorDate: Sat Feb 18 15:59:08 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 12:14:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f11e64e

media-video/ffmpeg: add support for zeromq

Closes: https://github.com/gentoo/gentoo/pull/3721

 media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++--
 media-video/ffmpeg/metadata.xml       | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index 151504aadf..71ed7c1125 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -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

diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml
index 85766b4b87..b8773a83a6 100644
--- a/media-video/ffmpeg/metadata.xml
+++ b/media-video/ffmpeg/metadata.xml
@@ -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>

Reply via email to