From 6264814dd8ff6c361305a6027037ad3308f67e659cce97f6f29d929cfe9391cc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 20 May 2021 23:32:45 +0000 Subject: [PATCH] Accepting request 894701 from home:dmolkentin:branches:multimedia:libs - Enable vulkan on on Leap 15 OBS-URL: https://build.opensuse.org/request/show/894701 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=161 --- ffmpeg-4.changes | 5 +++++ ffmpeg-4.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index 94ec9e2..a3b0825 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 20 23:16:09 UTC 2021 - Daniel Molkentin + +- Enable vulkan on on Leap 15 + ------------------------------------------------------------------- Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 0575ca0..843ac8d 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -68,6 +68,7 @@ %bcond_without rubberband %bcond_without soxr %bcond_without zmq +%bcond_without vulkan %else %bcond_with libaom %bcond_with mysofa @@ -80,6 +81,7 @@ %bcond_with rubberband %bcond_with soxr %bcond_with zmq +%bcond_with vulkan %endif %if 0%{?suse_version} >= 1500 @@ -195,6 +197,9 @@ BuildRequires: pkgconfig(vdpau) %if %{with vidstab} BuildRequires: pkgconfig(vidstab) >= 0.98 %endif +%if %{with vulkan} +BuildRequires: pkgconfig(vulkan) +%endif BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vpx) >= 1.4.0 BuildRequires: pkgconfig(x11) @@ -613,6 +618,9 @@ LDFLAGS="%_lto_cflags" \ --enable-avresample \ --enable-gnutls \ --enable-ladspa \ +%if %{with vulkan} + --enable-vulkan \ +%endif %if ! %{with cuda_sdk} --disable-cuda-sdk \ %endif