Add condition for SVT

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
epel9
Robert-André Mauchin 4 years ago
parent 3391bfb0e9
commit d19e550a17
No known key found for this signature in database
GPG Key ID: F07E690B12A82D56

@ -2,6 +2,9 @@
%undefine __cmake_in_source_build %undefine __cmake_in_source_build
%bcond_without aom %bcond_without aom
%ifarch x86_64
%bcond_without svt
%endif
Name: libavif Name: libavif
Version: 0.8.4 Version: 0.8.4
@ -64,7 +67,7 @@ Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
%cmake %{?with_aom:-DAVIF_CODEC_AOM=1} \ %cmake %{?with_aom:-DAVIF_CODEC_AOM=1} \
-DAVIF_CODEC_DAV1D=1 \ -DAVIF_CODEC_DAV1D=1 \
-DAVIF_CODEC_RAV1E=1 \ -DAVIF_CODEC_RAV1E=1 \
-DAVIF_CODEC_SVT=1 \ %{?with_svt:-DAVIF_CODEC_SVT=1} \
-DAVIF_BUILD_APPS=1 \ -DAVIF_BUILD_APPS=1 \
-DAVIF_BUILD_GDK_PIXBUF=1 -DAVIF_BUILD_GDK_PIXBUF=1
%cmake_build %cmake_build

Loading…
Cancel
Save