Enabled libopenmpt

el9
Leigh Scott 4 years ago
parent d92deeeb02
commit 046463a678

@ -13,6 +13,10 @@
# Cuda and others are only available on some arches # Cuda and others are only available on some arches
%global cuda_arches x86_64 %global cuda_arches x86_64
%ifnarch %{arm}
%global _with_openmpt 1
%endif
%if 0%{?el7} %if 0%{?el7}
%global _without_aom 1 %global _without_aom 1
%global _without_dav1d 1 %global _without_dav1d 1
@ -145,6 +149,7 @@ BuildRequires: libgcrypt-devel
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libmodplug-devel BuildRequires: libmodplug-devel
BuildRequires: libmysofa-devel BuildRequires: libmysofa-devel
%{?_with_openmpt:BuildRequires: libopenmpt-devel}
BuildRequires: librsvg2-devel BuildRequires: librsvg2-devel
%{?_with_rtmp:BuildRequires: librtmp-devel} %{?_with_rtmp:BuildRequires: librtmp-devel}
%{?_with_smb:BuildRequires: libsmbclient-devel} %{?_with_smb:BuildRequires: libsmbclient-devel}
@ -299,6 +304,7 @@ This package contains development files for %{name}
%{?_with_opencv:--enable-libopencv} \\\ %{?_with_opencv:--enable-libopencv} \\\
%{!?_without_opengl:--enable-opengl} \\\ %{!?_without_opengl:--enable-opengl} \\\
--enable-libopenjpeg \\\ --enable-libopenjpeg \\\
%{?_with_openmpt:--enable-libopenmpt} \\\
%{!?_without_opus:--enable-libopus} \\\ %{!?_without_opus:--enable-libopus} \\\
%{!?_without_pulse:--enable-libpulse} \\\ %{!?_without_pulse:--enable-libpulse} \\\
--enable-librsvg \\\ --enable-librsvg \\\

Loading…
Cancel
Save