media-video/ffmpeg: add libxml2 useflag
authorAlexis Ballier <aballier@gentoo.org>
Wed, 13 Mar 2019 13:24:55 +0000 (14:24 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 13 Mar 2019 15:03:23 +0000 (16:03 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
media-video/ffmpeg/ffmpeg-4.1.1.ebuild
media-video/ffmpeg/ffmpeg-9999.ebuild
media-video/ffmpeg/metadata.xml

index e83dfb437272c52fb58d244d93250a43beca0a28..12b71fa688bb8fb0f519b1cc03949ffbc63e7b04 100644 (file)
@@ -64,7 +64,7 @@ fi
 # foo is added to IUSE.
 FFMPEG_FLAG_MAP=(
                +bzip2:bzlib cpudetection:runtime-cpudetect debug gcrypt gnutls gmp
-               +gpl +hardcoded-tables +iconv libressl:libtls lzma +network opencl
+               +gpl +hardcoded-tables +iconv libressl:libtls libxml2 lzma +network opencl
                openssl +postproc samba:libsmbclient sdl:ffplay sdl:sdl2 vaapi vdpau
                X:xlib xcb:libxcb xcb:libxcb-shm xcb:libxcb-xfixes +zlib
                # libavdevice options
@@ -215,6 +215,7 @@ RDEPEND="
        libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
        libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
        libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
+       libxml2? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
        lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] media-libs/lilv[${MULTILIB_USEDEP}] )
        lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
        mmal? ( media-libs/raspberrypi-userland )
index df4ddb5f0091a9ae1fbd9ff63b84954055a38d7d..612d0d3fd7087599bfb15a8a6780cfe884e4e947 100644 (file)
@@ -64,7 +64,7 @@ fi
 # foo is added to IUSE.
 FFMPEG_FLAG_MAP=(
                +bzip2:bzlib cpudetection:runtime-cpudetect debug gcrypt gnutls gmp
-               +gpl +hardcoded-tables +iconv libressl:libtls lzma +network opencl
+               +gpl +hardcoded-tables +iconv libressl:libtls libxml2 lzma +network opencl
                openssl +postproc samba:libsmbclient sdl:ffplay sdl:sdl2 vaapi vdpau
                X:xlib xcb:libxcb xcb:libxcb-shm xcb:libxcb-xfixes +zlib
                # libavdevice options
@@ -215,6 +215,7 @@ RDEPEND="
        libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
        libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
        libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
+       libxml2? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
        lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] media-libs/lilv[${MULTILIB_USEDEP}] )
        lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
        mmal? ( media-libs/raspberrypi-userland )
index 5a7a9e5dcefefc1b197a6f5f409bd153d0515bbe..b2b0c975a9874f52471b3dd83343a308135c4b34 100644 (file)
@@ -36,6 +36,7 @@
        <flag name="librtmp">Enables Real Time Messaging Protocol using librtmp (<pkg>media-video/rtmpdump</pkg>) in addition to FFmpeg's native implementation.</flag>
        <flag name="libsoxr">Enables audio resampling through <pkg>media-libs/soxr</pkg>.</flag>
        <flag name="libv4l">Uses <pkg>media-libs/libv4l</pkg> for video4linux instead of direct calls. Adds support for more devices via the userspace library.</flag>
+       <flag name="libxml2">Uses <pkg>dev-libs/libxml2</pkg> to enable dash demuxing support.</flag>
        <flag name="lv2">Enables lv2 audio filter wrapper.</flag>
        <flag name="mipsdspr1">Enables MIPS DSP ASE R1 optimizations.</flag>
        <flag name="mipsdspr2">Enables MIPS DSP ASE R2 optimizations.</flag>