blob: 2518f2ebf6a5086d34d2be166b9b9ca544d65777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
VERSION=$(date +%Y%m%d)
PACKAGE="mplayer-1.0_rc4_p${VERSION}"
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk ${PACKAGE}
pushd ${PACKAGE} > /dev/null
# ffmpeg is in git now so no svn external anymore
rm -rf ffmpeg
git clone git://git.ffmpeg.org/ffmpeg.git
STORE_VERSION=$(svn log -r HEAD -q |grep ^r |cut -d' ' -f1)
echo "*** Remember to adjust mplayer ebuild with revision: \"SVN-${STORE_VERSION}\" ***"
popd > /dev/null
find "${PACKAGE}" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf
tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
rm -rf ${PACKAGE}/
echo "Tarball: \"${PACKAGE}.tar.xz\""
echo "** all done **"
|