From acbe2814fda0e912d5d4fa089605ea83f97d0575aae3eddd6e68e852b807b17f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 6 Jul 2019 22:46:19 +0000 Subject: [PATCH] Accepting request 713762 from home:iznogood:branches:multimedia:libs - Add pkgconfig(libva-drm), pkgconfig(libva-x11) BuildRequires: and conditional pkgconfig(libmfx) BuildRequires: Build intel-mediasdk support when possible. OBS-URL: https://build.opensuse.org/request/show/713762 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=76 --- ffmpeg-4.changes | 7 +++++++ ffmpeg-4.spec | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index 84d4492..2d313be 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jul 6 21:43:04 UTC 2019 - Bjørn Lie + +- Add pkgconfig(libva-drm), pkgconfig(libva-x11) BuildRequires: and + conditional pkgconfig(libmfx) BuildRequires: Build intel-mediasdk + support when possible. + ------------------------------------------------------------------- Tue Jul 2 09:04:55 UTC 2019 - Ismail Dönmez diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 8779052..eebc29c 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -165,6 +165,8 @@ BuildRequires: pkgconfig(libraw1394) BuildRequires: pkgconfig(libssh) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 0.35.0 +BuildRequires: pkgconfig(libva-drm) +BuildRequires: pkgconfig(libva-x11) BuildRequires: pkgconfig(libwebp) >= 0.4 BuildRequires: pkgconfig(libxml-2.0) %if %{with zmq} @@ -202,6 +204,11 @@ BuildRequires: pkgconfig(xcb-shm) BuildRequires: pkgconfig(xcb-xfixes) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) +%if 0%{?suse_version} >= 1550 +%ifarch x86_64 +BuildRequires: pkgconfig(libmfx) +%endif +%endif %if %{with zimg} BuildRequires: pkgconfig(zimg) %endif @@ -666,6 +673,11 @@ LDFLAGS="%_lto_cflags" \ %endif %if %{with lv2} --enable-lv2 \ +%endif +%if 0%{?suse_version} >= 1550 +%ifarch x86_64 + --enable-libmfx \ +%endif %endif --enable-vaapi \ --enable-vdpau \