From fd5a44f31de1b6e306fde5bf06bb881b8ecc7991 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 7 May 2020 13:38:22 +0300 Subject: [PATCH] media-plugins/gst-plugins-libav-1.16.2: use system ffmpeg properly Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- ...ibav-1.16.2.ebuild => gst-plugins-libav-1.16.2-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) rename media-plugins/gst-plugins-libav/{gst-plugins-libav-1.16.2.ebuild => gst-plugins-libav-1.16.2-r1.ebuild} (89%) diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2-r1.ebuild 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 04f13962405e..d097496927db 100644 --- a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild +++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2-r1.ebuild @@ -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) } -- 2.26.2