|
|
|
@ -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
|
|
|
|
|