summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k3b
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/k3b')
-rw-r--r--redhat/applications/k3b/k3b-14.0.0.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec
index 9970464d2..a0975d119 100644
--- a/redhat/applications/k3b/k3b-14.0.0.spec
+++ b/redhat/applications/k3b/k3b-14.0.0.spec
@@ -180,6 +180,7 @@ BuildRequires: flac-devel
%endif
# MAD support
+%ifarch %{ix86} x86_64
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define with_libmad 1
%if 0%{?mdkversion} || 0%{?mgaversion}
@@ -189,6 +190,7 @@ BuildRequires: %{_lib}mad-devel
BuildRequires: libmad-devel
%endif
%endif
+%endif
# LAME support
%if 0%{?opensuse_bs} == 0
@@ -448,6 +450,7 @@ fi
-DWITH_FFMPEG_ALL_CODECS="ON" \
-DWITH_MUSEPACK="ON" \
-DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \
+ -DWITH_MAD="%{!?with_libmad:OFF}%{?with_libmad:ON}" \
..
%__make %{?_smp_mflags} || %__make