commit 046463a678488d7eff9d292890326049b97c2af2
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Jul 15 15:30:43 2020 +0100
Enabled libopenmpt
ffmpeg.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
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 \\\
Show replies by date