Revert ffmpeg rebase (prep for rebuild for new openjpeg

el8
Hans de Goede 14 years ago
parent 52364ef24f
commit d9f6e4d19f

2
.gitignore vendored

@ -1 +1 @@
ffmpeg-20110110.tar.bz2 ffmpeg-20100704.tar.bz2

@ -22,6 +22,9 @@ cd ffmpeg-$date
pushd libswscale pushd libswscale
svn update -r $svn libswscale svn update -r $svn libswscale
popd popd
./version.sh . version.h
find . -type d -name .svn -print0 | xargs -0r rm -rf
sed -i -e '/^\.PHONY: version\.h$/d' Makefile
cd .. cd ..
tar jcf "$pwd"/ffmpeg-$date.tar.bz2 ffmpeg-$date tar jcf "$pwd"/ffmpeg-$date.tar.bz2 ffmpeg-$date
cd - >/dev/null cd - >/dev/null

@ -1,12 +1,15 @@
# TODO: add make test to %%check section # TODO: add make test to %%check section
%global svn 20110110 %global svn 20100704
%{?_with_amr:
%global _with_opencore_amr 1
}
Summary: Digital VCR and streaming server Summary: Digital VCR and streaming server
Name: ffmpeg Name: ffmpeg
Version: 0.6.1 Version: 0.6
Release: 1.%{svn}svn%{?dist} Release: 4.%{svn}svn%{?dist}
%if 0%{?_with_amr:1} %if 0%{?_with_opencore_amr:1}
License: GPLv3+ License: GPLv3+
%else %else
License: GPLv2+ License: GPLv2+
@ -29,12 +32,11 @@ BuildRequires: libva-devel >= 0.31.0
BuildRequires: libvdpau-devel BuildRequires: libvdpau-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libvpx-devel >= 0.9.1 BuildRequires: libvpx-devel >= 0.9.1
%{?_with_amr:BuildRequires: opencore-amr-devel} %{?_with_opencore_amr:BuildRequires: opencore-amr-devel}
BuildRequires: openjpeg-devel BuildRequires: openjpeg-devel
BuildRequires: schroedinger-devel BuildRequires: schroedinger-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: speex-devel BuildRequires: speex-devel
BuildRequires: subversion
BuildRequires: texi2html BuildRequires: texi2html
BuildRequires: x264-devel >= 0.0.0-0.28 BuildRequires: x264-devel >= 0.0.0-0.28
BuildRequires: xvidcore-devel BuildRequires: xvidcore-devel
@ -84,7 +86,7 @@ This package contains development files for %{name}
--arch=%{_target_cpu} \\\ --arch=%{_target_cpu} \\\
--extra-cflags="$RPM_OPT_FLAGS" \\\ --extra-cflags="$RPM_OPT_FLAGS" \\\
--extra-version=rpmfusion \\\ --extra-version=rpmfusion \\\
%{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\ %{?_with_opencore_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\
--enable-bzlib \\\ --enable-bzlib \\\
--enable-libdc1394 \\\ --enable-libdc1394 \\\
--enable-libdirac \\\ --enable-libdirac \\\
@ -102,6 +104,7 @@ This package contains development files for %{name}
--enable-libxvid \\\ --enable-libxvid \\\
--enable-x11grab \\\ --enable-x11grab \\\
--enable-avfilter \\\ --enable-avfilter \\\
--enable-avfilter-lavf \\\
--enable-postproc \\\ --enable-postproc \\\
--enable-pthreads \\\ --enable-pthreads \\\
--disable-static \\\ --disable-static \\\
@ -149,7 +152,6 @@ pushd generic
make %{?_smp_mflags} make %{?_smp_mflags}
make documentation make documentation
make alltools
popd popd
%if 0%{!?ffmpegsuffix:1} %if 0%{!?ffmpegsuffix:1}
@ -173,7 +175,6 @@ popd
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
pushd generic pushd generic
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
install -pm755 tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
popd popd
%if 0%{!?ffmpegsuffix:1} %if 0%{!?ffmpegsuffix:1}
pushd simd pushd simd
@ -199,7 +200,6 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/ffplay %{_bindir}/ffplay
%{_bindir}/ffprobe %{_bindir}/ffprobe
%{_bindir}/ffserver %{_bindir}/ffserver
%{_bindir}/qt-faststart
%{_mandir}/man1/ffmpeg.1* %{_mandir}/man1/ffmpeg.1*
%{_mandir}/man1/ffplay.1* %{_mandir}/man1/ffplay.1*
%{_mandir}/man1/ffprobe.1* %{_mandir}/man1/ffprobe.1*
@ -230,12 +230,6 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jan 10 2011 Dominik Mierzejewski <rpm at greysector.net> - 0.6.1-1.20110110svn
- 20110110 snapshot
- bump version to post-0.6.1 to allow stable 0.6.1 update in older branches
- drop --with amr->opencore_amr indirection
- add qt-faststart tool (bug #1259)
* Wed Jul 21 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.6-4.20100704svn * Wed Jul 21 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.6-4.20100704svn
- Enable libva - Enable libva
- Restore compatibility --with amr - Restore compatibility --with amr

@ -1 +1 @@
fccd69057e331c2541bb024b1e92e864 ffmpeg-20110110.tar.bz2 9e4119c9252be7e4528c7fb702228701 ffmpeg-20100704.tar.bz2

Loading…
Cancel
Save