- 20110227 snapshot

- build PIC objects on PPC (bug #1457)
- provide custom version string
el8
Dominik Mierzejewski 14 years ago
parent 07a7805b71
commit 6ff51013a2

2
.gitignore vendored

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

@ -13,15 +13,9 @@ cleanup() {
unset CDPATH unset CDPATH
pwd=$(pwd) pwd=$(pwd)
date=$(date +%Y%m%d) date=$(date +%Y%m%d)
svn={$date}
svn=HEAD
cd "$tmp" pushd "$tmp"
svn checkout -r $svn svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-$date git clone git://git.videolan.org/ffmpeg.git
cd ffmpeg-$date cd ffmpeg
pushd libswscale git archive --prefix="ffmpeg-${date}/" --format=tar master | bzip2 > "$pwd"/ffmpeg-${date}.tar.bz2
svn update -r $svn libswscale
popd popd
cd ..
tar jcf "$pwd"/ffmpeg-$date.tar.bz2 ffmpeg-$date
cd - >/dev/null

@ -1,11 +1,11 @@
# TODO: add make test to %%check section # TODO: add make test to %%check section
%global svn 20110110 %global date 20110227
Summary: Digital VCR and streaming server Summary: Digital VCR and streaming server
Name: ffmpeg Name: ffmpeg
Version: 0.6.1 Version: 0.6.1
Release: 1.%{svn}svn%{?dist} Release: 1.%{date}git%{?dist}
%if 0%{?_with_amr:1} %if 0%{?_with_amr:1}
License: GPLv3+ License: GPLv3+
%else %else
@ -13,7 +13,7 @@ License: GPLv2+
%endif %endif
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://ffmpeg.org/ URL: http://ffmpeg.org/
Source0: ffmpeg-%{svn}.tar.bz2 Source0: ffmpeg-%{date}.tar.bz2
Source1: ffmpeg-snapshot.sh Source1: ffmpeg-snapshot.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -83,7 +83,6 @@ This package contains development files for %{name}
--mandir=%{_mandir} \\\ --mandir=%{_mandir} \\\
--arch=%{_target_cpu} \\\ --arch=%{_target_cpu} \\\
--extra-cflags="$RPM_OPT_FLAGS" \\\ --extra-cflags="$RPM_OPT_FLAGS" \\\
--extra-version=rpmfusion \\\
%{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\ %{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3} \\\
--enable-bzlib \\\ --enable-bzlib \\\
--enable-libdc1394 \\\ --enable-libdc1394 \\\
@ -112,13 +111,10 @@ This package contains development files for %{name}
%prep %prep
%setup -q -n ffmpeg-%{svn} %setup -q -n ffmpeg-%{date}
echo "git-snapshot-%{date}-RPMFusion" > VERSION
%build %build
%ifarch ppc ppc64
# compile with -mlongcall on ppc/ppc64 (rf804)
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
%endif
mkdir generic mkdir generic
pushd generic pushd generic
%{ff_configure}\ %{ff_configure}\
@ -137,10 +133,12 @@ pushd generic
%ifarch ppc %ifarch ppc
--cpu=g3 \ --cpu=g3 \
--enable-runtime-cpudetect \ --enable-runtime-cpudetect \
--enable-pic \
%endif %endif
%ifarch ppc64 %ifarch ppc64
--cpu=g5 \ --cpu=g5 \
--enable-runtime-cpudetect \ --enable-runtime-cpudetect \
--enable-pic \
%endif %endif
%ifarch sparc sparc64 %ifarch sparc sparc64
--disable-vis \ --disable-vis \
@ -230,11 +228,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jan 10 2011 Dominik Mierzejewski <rpm at greysector.net> - 0.6.1-1.20110110svn * Sun Feb 27 2011 Dominik Mierzejewski <rpm at greysector.net> - 0.6.1-1.20110227git
- 20110110 snapshot - 20110227 snapshot
- bump version to post-0.6.1 to allow stable 0.6.1 update in older branches - bump version to post-0.6.1 to allow stable 0.6.1 update in older branches
- drop --with amr->opencore_amr indirection - drop --with amr->opencore_amr indirection
- add qt-faststart tool (bug #1259) - add qt-faststart tool (bug #1259)
- build PIC objects on PPC (bug #1457)
- provide custom version string
* Fri Jan 21 2011 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.6-5.20100704svn * Fri Jan 21 2011 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.6-5.20100704svn
- Rebuild for new openjpeg - Rebuild for new openjpeg

@ -1 +1 @@
fccd69057e331c2541bb024b1e92e864 ffmpeg-20110110.tar.bz2 97a4485c7373faaa7df70f218867d20d ffmpeg-20110227.tar.bz2

Loading…
Cancel
Save