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