summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/akode/akode-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/akode/akode-14.0.0.spec')
-rw-r--r--redhat/dependencies/akode/akode-14.0.0.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode-14.0.0.spec
index 14bde662f..f4b24e33a 100644
--- a/redhat/dependencies/akode/akode-14.0.0.spec
+++ b/redhat/dependencies/akode/akode-14.0.0.spec
@@ -111,10 +111,12 @@ BuildRequires: pulseaudio-devel
%endif
# MAD support
+%ifarch %{ix86} x86_64
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define _with_libmad --with-libmad
BuildRequires: libmad-devel
%endif
+%endif
# ALSA support
%if 0%{?suse_version}
@@ -338,7 +340,7 @@ fi
\
-DWITH_FFMPEG_DECODER="OFF" \
-DWITH_MPC_DECODER="ON" \
- -DWITH_MPEG_DECODER="ON" \
+ %{!?_with_libmad:-DWITH_MPEG_DECODER="OFF"} %{?_with_libmad:-DWITH_MPEG_DECODER="ON"} \
-DWITH_SRC_RESAMPLER="ON" \
-DWITH_XIPH_DECODER="ON" \
..