1
0
forked from pool/ffmpeg-4

Accepting request 625376 from home:scarabeus_iv:branches:multimedia:libs

- Redo the nvidia condition based on review feeback

OBS-URL: https://build.opensuse.org/request/show/625376
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=11
This commit is contained in:
Jan Engelhardt 2018-07-26 10:18:09 +00:00 committed by Git OBS Bridge
parent c290df3da3
commit 55afa21bc7
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 26 08:09:32 UTC 2018 - tchvatal@suse.com
- Redo the nvidia condition based on review feeback
-------------------------------------------------------------------
Wed Jul 25 08:30:56 UTC 2018 - tchvatal@suse.com

View File

@ -38,6 +38,16 @@
%{preamble_string} ffmpeg-private-devel %{comparator} %{conflicts_version} \
%{nil}
# nvidia adds library present only after leap15
%bcond_with nvcodec
%if 0%{?BUILD_ORIG}
%bcond_without nvidia
%if 0%{?suse_version} > 1500
%bcond_without nvcodec
%endif
%else
%bcond_with nvidia
%endif
%bcond_with fdk_aac
%bcond_with librtmp
%bcond_with opencore
@ -56,12 +66,10 @@
%bcond_without mysofa
%bcond_without vidstab
%bcond_without srt
%bcond_without nvidia
%else
%bcond_with mysofa
%bcond_with vidstab
%bcond_with srt
%bcond_with nvidia
%endif
%if 0%{?suse_version} >= 1500
@ -202,7 +210,7 @@ BuildRequires: pkgconfig(fdk-aac)
%if %{with librtmp}
BuildRequires: pkgconfig(librtmp)
%endif
%if %{with nvidia}
%if %{with nvcodec}
BuildRequires: pkgconfig(ffnvcodec)
%endif
%if %{with xvid}