rpms/ffmpeg/devel ffmpeg-snapshot.sh,1.4,1.5 ffmpeg.spec,1.20,1.21

Dominik Mierzejewski rathann at rpmfusion.org
Thu Oct 22 17:14:53 CEST 2009


Author: rathann

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

Modified Files:
	ffmpeg-snapshot.sh ffmpeg.spec 
Log Message:
* Thu Oct 22 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.5-4.20091019svn
- 20091019 snapshot
- dropped support for old amr libs (not supported upstream since July)
- don't disable yasm for generic builds
- fixed opencore amr support
- dropped workaround for non-standard openjpeg headers location
- dropped separate SIMDified libs for x86, runtime CPU detection should be enough



Index: ffmpeg-snapshot.sh
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/ffmpeg-snapshot.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ffmpeg-snapshot.sh	15 Oct 2009 22:25:17 -0000	1.4
+++ ffmpeg-snapshot.sh	22 Oct 2009 15:14:52 -0000	1.5
@@ -13,10 +13,14 @@
 unset CDPATH
 pwd=$(pwd)
 svn=$(date +%Y%m%d)
+svn=20091019
 
 cd "$tmp"
 svn checkout -r {$svn} svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-$svn
 cd ffmpeg-$svn
+pushd libswscale
+svn update -r {$svn} libswscale
+popd
 ./version.sh . version.h
 find . -type d -name .svn -print0 | xargs -0r rm -rf
 sed -i -e '/^\.PHONY: version\.h$/d' Makefile


Index: ffmpeg.spec
===================================================================
RCS file: /cvs/free/rpms/ffmpeg/devel/ffmpeg.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ffmpeg.spec	15 Oct 2009 22:25:17 -0000	1.20
+++ ffmpeg.spec	22 Oct 2009 15:14:52 -0000	1.21
@@ -1,13 +1,17 @@
 # TODO: add make test to %%check section
 
-%global svn     20091007
+%global svn     20091019
 %global faad2min 1:2.6.1
 
 Summary:        Digital VCR and streaming server
 Name:           ffmpeg
 Version:        0.5
-Release:        3.svn%{svn}%{?dist}
+Release:        4.%{svn}svn%{?dist}
+%if 0%{?_with_opencore_amr:1}
+License:        GPLv3+
+%else
 License:        GPLv2+
+%endif
 Group:          Applications/Multimedia
 URL:            http://ffmpeg.org/
 Source0:        http://rpms.kwizart.net/fedora/SOURCES/%{name}-%{svn}.tar.bz2
@@ -16,7 +20,6 @@
 Patch0:         %{name}-textrel.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
 BuildRequires:  bzip2-devel
 BuildRequires:  dirac-devel
 %{?_with_faac:BuildRequires: faac-devel}
@@ -29,7 +32,7 @@
 %{?_with_vaapi:BuildRequires:libva-devel >= 0.31.0}
 BuildRequires:  libvdpau-devel
 BuildRequires:  libvorbis-devel
-%{?_with_opencore-amr:BuildRequires: opencore-amr-devel}
+%{?_with_opencore_amr:BuildRequires: opencore-amr-devel}
 BuildRequires:  openjpeg-devel
 BuildRequires:  schroedinger-devel
 BuildRequires:  SDL-devel
@@ -85,14 +88,13 @@
     --libdir=%{_libdir} \\\
     --mandir=%{_mandir} \\\
     --arch=%{_target_cpu} \\\
-    --extra-cflags="$RPM_OPT_FLAGS -I%{_includedir}/openjpeg" \\\
+    --extra-cflags="$RPM_OPT_FLAGS" \\\
     --extra-version=rpmfusion \\\
-    %{?_with_opencore-amr: --enable-libopencore-amrnb --enable-libopencore-amrnb} \\\
-    %{?_with_amr:--enable-libamr-nb --enable-libamr-wb} \\\
+    %{?_with_opencore_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\
     --enable-bzlib \\\
     --enable-libdc1394 \\\
     --enable-libdirac \\\
-    %{?_with_faac:--enable-libfaac} \\\
+    %{?_with_faac:--enable-libfaac --enable-nonfree} \\\
     --enable-libfaad \\\
     --enable-libgsm \\\
     --enable-libmp3lame \\\
@@ -111,8 +113,6 @@
     --disable-static \\\
     --enable-shared \\\
     --enable-gpl \\\
-    %{?_with_nonfree:--enable-nonfree} \\\
-    %{?_with_gplv3:--enable-version3} \\\
     --disable-debug \\\
     --disable-stripping
 
@@ -131,14 +131,8 @@
 %else
 %ifarch %{ix86}
     --cpu=%{_target_cpu} \
-    --disable-mmx2 \
-    --disable-amd3dnow \
-    --disable-amd3dnowext \
-    --disable-sse \
-    --disable-ssse3 \
-    --disable-yasm \
 %endif
-%ifarch x86_64
+%ifarch %{ix86} x86_64
     --enable-runtime-cpudetect \
 %endif
 %ifarch ppc ppc64
@@ -156,18 +150,7 @@
 %if 1%{?ffmpegsuffix:0}
 mkdir simd
 pushd simd
-%ifarch %{ix86}
-%{ff_configure}\
-    --shlibdir=%{_libdir}/sse2 \
-    --cpu=i686 \
-    --enable-runtime-cpudetect \
-    --disable-ffmpeg \
-    --disable-ffserver \
-    --disable-ffplay \
-
-make %{?_smp_mflags}
-%endif
-%ifarch ppc
+%ifarch ppc ppc64
 %{ff_configure}\
     --shlibdir=%{_libdir}/altivec \
     --cpu=g4 \
@@ -210,7 +193,7 @@
 popd
 %if 1%{?ffmpegsuffix:0}
 pushd simd
-%ifarch %{ix86} ppc ppc64 sparc sparc64
+%ifarch ppc ppc64 sparc sparc64
 make install DESTDIR=$RPM_BUILD_ROOT
 %endif
 popd
@@ -239,9 +222,6 @@
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so.*
 %if 1%{?ffmpegsuffix:0}
-%ifarch %{ix86}
-%{_libdir}/sse2/lib*.so.*
-%endif
 %ifarch ppc ppc64
 %{_libdir}/altivec/lib*.so.*
 %endif
@@ -257,9 +237,6 @@
 %{_libdir}/pkgconfig/lib*.pc
 %{_libdir}/lib*.so
 %if 1%{?ffmpegsuffix:0}
-%ifarch %{ix86}
-%{_libdir}/sse2/lib*.so
-%endif
 %ifarch ppc ppc64
 %{_libdir}/altivec/lib*.so
 %endif
@@ -270,6 +247,14 @@
 
 
 %changelog
+* Thu Oct 22 2009 Dominik Mierzejewski <rpm at greysector.net> - 0.5-4.20091019svn
+- 20091019 snapshot
+- dropped support for old amr libs (not supported upstream since July)
+- don't disable yasm for generic builds
+- fixed opencore amr support
+- dropped workaround for non-standard openjpeg headers location
+- dropped separate SIMDified libs for x86, runtime CPU detection should be enough
+
 * Thu Oct 15 2009 kwizart <kwizart at gmail.com > - 0.5-3.svn20091007
 - Update to svn snapshot 20091007
 - Add BR dirac vdpau.



More information about the rpmfusion-commits mailing list