media-plugins/gst-plugins-libav-1.16.2: use system ffmpeg properly
authorMart Raudsepp <leio@gentoo.org>
Thu, 7 May 2020 10:38:22 +0000 (13:38 +0300)
committerMart Raudsepp <leio@gentoo.org>
Thu, 7 May 2020 12:52:07 +0000 (15:52 +0300)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2-r1.ebuild [moved from media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild with 89% similarity]

similarity index 89%
rename from media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild
rename to media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2-r1.ebuild
index 04f13962405e084986a73ecc3a9530bc4c106fe8..d097496927dbf47d8a9389fbcc74121d4a8c374a 100644 (file)
@@ -32,6 +32,10 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly
 
+PATCHES=(
+       "${FILESDIR}"/external-ffmpeg4-dep.patch # Automatically rescan available elements for registry when system ffmpeg changes
+)
+
 multilib_src_configure() {
        GST_PLUGINS_BUILD=""
 
@@ -41,6 +45,7 @@ multilib_src_configure() {
                --with-package-name="Gentoo GStreamer ebuild" \
                --with-package-origin="https://www.gentoo.org" \
                --disable-fatal-warnings \
+               --with-system-libav \
                $(use_enable orc)
 }