SHA256
1
0
forked from pool/ffmpeg-4

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
This commit is contained in:
Jan Engelhardt 2021-05-20 23:32:45 +00:00 committed by Git OBS Bridge
parent 0a01323dea
commit 6264814dd8
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 20 23:16:09 UTC 2021 - Daniel Molkentin <daniel.molkentin@suse.com>
- Enable vulkan on on Leap 15
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Fri Apr 16 10:20:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -68,6 +68,7 @@
%bcond_without rubberband %bcond_without rubberband
%bcond_without soxr %bcond_without soxr
%bcond_without zmq %bcond_without zmq
%bcond_without vulkan
%else %else
%bcond_with libaom %bcond_with libaom
%bcond_with mysofa %bcond_with mysofa
@ -80,6 +81,7 @@
%bcond_with rubberband %bcond_with rubberband
%bcond_with soxr %bcond_with soxr
%bcond_with zmq %bcond_with zmq
%bcond_with vulkan
%endif %endif
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
@ -195,6 +197,9 @@ BuildRequires: pkgconfig(vdpau)
%if %{with vidstab} %if %{with vidstab}
BuildRequires: pkgconfig(vidstab) >= 0.98 BuildRequires: pkgconfig(vidstab) >= 0.98
%endif %endif
%if %{with vulkan}
BuildRequires: pkgconfig(vulkan)
%endif
BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vpx) >= 1.4.0 BuildRequires: pkgconfig(vpx) >= 1.4.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
@ -613,6 +618,9 @@ LDFLAGS="%_lto_cflags" \
--enable-avresample \ --enable-avresample \
--enable-gnutls \ --enable-gnutls \
--enable-ladspa \ --enable-ladspa \
%if %{with vulkan}
--enable-vulkan \
%endif
%if ! %{with cuda_sdk} %if ! %{with cuda_sdk}
--disable-cuda-sdk \ --disable-cuda-sdk \
%endif %endif