ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/ffmpeg/F-11/ffmpeg-snapshot.sh
Revision: 1.3
Committed: Sat Oct 24 15:27:00 2009 UTC (3 years, 7 months ago) by rathann
Branch: MAIN
CVS Tags: ffmpeg-0_5_1-1_fc11, ffmpeg-0_5-3_fc11, ffmpeg-0_5_2-1_fc11, HEAD
Changes since 1.2: +3 -0 lines
Log Message:
libswscale is svn extern, so keep that in sync when generating the snapshot

Line User Rev File contents
1 thl 1.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 rathann 1.3 pushd libswscale
21     svn update -r {$svn} libswscale
22     popd
23 rathann 1.2 ./version.sh . version.h
24 thl 1.1 find . -type d -name .svn -print0 | xargs -0r rm -rf
25     sed -i -e '/^\.PHONY: version\.h$/d' Makefile
26     cd ..
27     tar jcf "$pwd"/ffmpeg-$svn.tar.bz2 ffmpeg-$svn
28     cd - >/dev/null