ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/ffmpeg/F-11/ffmpeg-snapshot.sh
Revision: 1.2
Committed: Fri Sep 5 15:17:52 2008 UTC (4 years, 8 months ago) by rathann
Branch: MAIN
CVS Tags: ffmpeg-0_4_9-0_54_20081202_fc11, ffmpeg-0_4_9-0_49_20080905_fc10, ffmpeg-0_5-2_fc11, ffmpeg-0_4_9-0_57_20081217_fc11, EL-5-split, ffmpeg-0_4_9-0_53_20081202_fc11, ffmpeg-0_4_9-0_55_20081214_fc11, F-11-split, F-11-start, ffmpeg-0_4_9-0_52_20080908_fc10, ffmpeg-0_4_9-0_51_20080908_fc10, ffmpeg-0_4_9-0_56_20081214_fc11, ffmpeg-0_5-1_fc11, ffmpeg-0_4_9-0_50_20080908_fc10, F-10-split, ffmpeg-0_4_9-0_58_20090131_fc11
Changes since 1.1: +1 -1 lines
Log Message:
* Fri Sep 05 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.49.20080905
- 20080905 snapshot
- fix build --with amr
- update snapshot.sh
- drop liba52 support, native ac3 decoder is better in every way

Line File contents
1 #!/bin/bash
2
3 set -e
4
5 tmp=$(mktemp -d)
6
7 trap cleanup EXIT
8 cleanup() {
9 set +e
10 [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
11 }
12
13 unset CDPATH
14 pwd=$(pwd)
15 svn=$(date +%Y%m%d)
16
17 cd "$tmp"
18 svn checkout -r {$svn} svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-$svn
19 cd ffmpeg-$svn
20 ./version.sh . version.h
21 find . -type d -name .svn -print0 | xargs -0r rm -rf
22 sed -i -e '/^\.PHONY: version\.h$/d' Makefile
23 cd ..
24 tar jcf "$pwd"/ffmpeg-$svn.tar.bz2 ffmpeg-$svn
25 cd - >/dev/null