SHA256
1
0
forked from jengelh/ffmpeg-6
Jan Engelhardt 2024-01-15 16:48:53 +00:00 committed by Git OBS Bridge
parent 6f66ffe151
commit f23e778b6e

View File

@ -16,11 +16,11 @@
#
%define flavor @BUILD_FLAVOR@%{nil}
%define flavor @BUILD_FLAVOR@%nil
#
# preamble is present twice, watch out
#
%if "%{flavor}" != "ffmpeg-6-mini"
%if "%flavor" != "ffmpeg-6-mini"
# Create proper conflicts to make sure we require all from one version
# p: Conflict string, eg if you need them all for requires instead
@ -221,7 +221,6 @@ BuildRequires: pkgconfig(SvtAv1Enc) >= 0.9.0
%endif
%endif
%if %{with vulkan}
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600
BuildRequires: pkgconfig(libplacebo) >= 6.292.0
@ -538,7 +537,7 @@ This subpackage contains the headers for FFmpeg libswscale.
%global _lto_cflags %_lto_cflags -ffat-lto-objects
%endif
CFLAGS="%optflags" \
%if %suse_version > 1500
%if 0%{?suse_version} > 1500
%ifarch %ix86
%else
LDFLAGS="%_lto_cflags" \
@ -695,7 +694,7 @@ for i in %extratools; do
done
%install
b=%{buildroot}
b="%buildroot"
%make_install install-man
rm -Rf "$b/%_datadir/ffmpeg/examples"
for i in %extratools; do
@ -907,7 +906,7 @@ cat config.h
%make_build
%install
b=%{buildroot}
b="%buildroot"
%make_install
rm -Rf "$b/%_datadir/ffmpeg/examples"