34802
|
1 #!/bin/bash
|
|
2 # will create checkouts and tarballs in the current dir
|
|
3 ver=1.1
|
|
4 dst=MPlayer-$ver
|
|
5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
|
|
6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
|
|
7
|
|
8 rm -rf $dst/ $dst-DOCS/
|
|
9
|
|
10 svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/
|
|
11 echo $ver > $dst/VERSION
|
|
12
|
|
13 # create HTML docs
|
|
14 cp -a $dst/ $dst-DOCS/
|
|
15 pushd $dst-DOCS/
|
|
16 mkdir -p ffmpeg/libavutil
|
|
17 ./configure --yasm='' --language=all
|
|
18 make html-chunked
|
|
19 popd
|
|
20 mv $dst-DOCS/DOCS/HTML $dst/DOCS
|
|
21 rm -rf $dst-DOCS/
|
|
22
|
|
23 # git archive unfortunately is refused
|
|
24 git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg
|
|
25 rm -rf $dst/ffmpeg/.git*
|
|
26
|
|
27 tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/
|