rpms/ffmpeg/devel ffmpeg.spec,1.17,1.18

NicolasChauvet kwizart at rpmfusion.org
Fri Oct 16 00:14:45 CEST 2009


Author: kwizart

Update of /cvs/free/rpms/ffmpeg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7557

Modified Files:
	ffmpeg.spec 
Log Message:
- Update to svn snapshot 20091007
- Add BR dirac opencoreamr vdpau.
- Use --with nonfree as a separate conditional for amr and faac.
- Don't build faac by default because it's nonfree.
- Allow to --define 'ffmpegsuffix custom' for special SONAME.



Index: ffmpeg.spec
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/ffmpeg.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ffmpeg.spec	7 Oct 2009 22:37:11 -0000	1.17
+++ ffmpeg.spec	15 Oct 2009 22:14:44 -0000	1.18
@@ -28,6 +28,7 @@
 %{?_with_vaapi:BuildRequires:libva-devel >= 0.31.0}
 BuildRequires:  libvdpau-devel
 BuildRequires:  libvorbis-devel
+{!?_without_opencore-amr: BuildRequires:  opencore-amr-devel}
 BuildRequires:  openjpeg-devel
 BuildRequires:  schroedinger-devel
 BuildRequires:  SDL-devel
@@ -85,6 +86,7 @@
     --arch=%{_target_cpu} \\\
     --extra-cflags="$RPM_OPT_FLAGS -I%{_includedir}/openjpeg" \\\
     --extra-version=rpmfusion \\\
+    %{!?_without_opencore-amr: --enable-libopencore-amrnb --enable-libopencore-amrnb} \\\
     %{?_with_amr:--enable-libamr-nb --enable-libamr-wb} \\\
     --enable-bzlib \\\
     --enable-libdc1394 \\\
@@ -128,10 +130,15 @@
 %ifarch %{ix86}
     --cpu=%{_target_cpu} \
     --disable-mmx2 \
+    --disable-amd3dnow \
+    --disable-amd3dnowext \
     --disable-sse \
     --disable-ssse3 \
     --disable-yasm \
 %endif
+%ifarch x86_64
+    --enable-runtime-cpudetect \
+%endif
 %ifarch ppc ppc64
     --disable-altivec \
 %endif
@@ -149,8 +156,9 @@
 pushd simd
 %ifarch %{ix86}
 %{ff_configure}\
-    --shlibdir=%{_libdir}/i686 \
+    --shlibdir=%{_libdir}/sse2 \
     --cpu=i686 \
+    --enable-runtime-cpudetect \
     --disable-ffmpeg \
     --disable-ffserver \
     --disable-ffplay \
@@ -230,7 +238,7 @@
 %{_libdir}/lib*.so.*
 %if 1%{?ffmpegsuffix:0}
 %ifarch %{ix86}
-%{_libdir}/i686/lib*.so.*
+%{_libdir}/sse2/lib*.so.*
 %endif
 %ifarch ppc ppc64
 %{_libdir}/altivec/lib*.so.*
@@ -248,7 +256,7 @@
 %{_libdir}/lib*.so
 %if 1%{?ffmpegsuffix:0}
 %ifarch %{ix86}
-%{_libdir}/i686/lib*.so
+%{_libdir}/sse2/lib*.so
 %endif
 %ifarch ppc ppc64
 %{_libdir}/altivec/lib*.so
@@ -260,9 +268,9 @@
 
 
 %changelog
-* Wed Oct  7 2009 kwizart <kwizart at gmail.com > - 0.5-3.svn20091007
+* Thu Oct 15 2009 kwizart <kwizart at gmail.com > - 0.5-3.svn20091007
 - Update to svn snapshot 20091007
-- Add BR dirac and vdpau.
+- Add BR dirac opencoreamr vdpau.
 - Use --with nonfree as a separate conditional for amr and faac.
 - Don't build faac by default because it's nonfree.
 - Allow to --define 'ffmpegsuffix custom' for special SONAME.



More information about the rpmfusion-commits mailing list