]> git.pld-linux.org Git - packages/avidemux.git/commitdiff
- amr switched to opencore-amr; enabled by default
authorsparky <sparky@pld-linux.org>
Thu, 17 Dec 2009 19:04:48 +0000 (19:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avidemux.spec -> 1.76

avidemux.spec

index b102121d08422bbdf7ec3fdda89b533047bcc652..377b5ebbb861beafbac488325f9eed67e05f2920 100644 (file)
@@ -6,11 +6,12 @@
 # - Could not find Gettext -- libintl not required for gettext support
 # - don't force -O3 optimization
 # - look for lrelease from qt4-linguist, not qt-linguist
+# - fix libx264 detection: Could not find x264_encoder_open in /usr/lib64/libx264.so
 #
 # Conditional build:
 %bcond_without esd     # disable EsounD sound support
 %bcond_without arts    # without arts audio output
-%bcond_with    amr     # enable 3GPP Adaptive Multi Rate (AMR) speech codec support
+%bcond_without amr     # enable Adaptive Multi Rate (AMR) speech codec support
 %bcond_without qt4     # build qt4 interface
 %bcond_without gtk     # build gtk interface
 %bcond_with    ssse3   # use SSSE3 instructions
@@ -44,7 +45,6 @@ URL:          http://fixounet.free.fr/avidemux/
 BuildRequires: SDL-devel
 BuildRequires: a52dec-libs-devel
 BuildRequires: alsa-lib-devel >= 1.0
-%{?with_amr:BuildRequires:     amrnb-devel}
 %{?with_arts:BuildRequires:    artsc-devel}
 BuildRequires: cmake >= 2.6.2
 %{?with_esd:BuildRequires:     esound-devel}
@@ -70,6 +70,7 @@ BuildRequires:        libx264-devel
 BuildRequires: libxml2-devel
 %{?with_qt4:BuildRequires:     libxslt-progs}
 BuildRequires: nasm >= 0.98.32
+%{?with_amr:BuildRequires:     opencore-amr-devel}
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
 %{?with_qt4:BuildRequires:     qt-linguist}
@@ -206,6 +207,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_Mad.so
 %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_a52.so
 %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_faad.so
+%if %{with amr}
+%attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrnb.so
+%attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrwb.so
+%endif
 
 %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_alsa.so
 %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_arts.so
This page took 0.142001 seconds and 4 git commands to generate.