From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/mplayer/files: prepare_mplayer.sh |
Date: | Sun, 07 Nov 2010 14:58:31 |
Message-Id: | 20101107145826.E34B120054@flycatcher.gentoo.org |
1 | scarabeus 10/11/07 14:58:26 |
2 | |
3 | Added: prepare_mplayer.sh |
4 | Log: |
5 | Add new snapshot and add tool that create them to files/ |
6 | |
7 | (Portage version: 2.2.0_alpha4/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-video/mplayer/files/prepare_mplayer.sh |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mplayer/files/prepare_mplayer.sh?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mplayer/files/prepare_mplayer.sh?rev=1.1&content-type=text/plain |
14 | |
15 | Index: prepare_mplayer.sh |
16 | =================================================================== |
17 | #!/bin/sh |
18 | VERSION=$(date +%Y%m%d) |
19 | PACKAGE="mplayer-1.0_rc4_p${VERSION}" |
20 | |
21 | svn checkout svn://svn.mplayerhq.hu/mplayer/trunk ${PACKAGE} |
22 | |
23 | pushd ${PACKAGE} > /dev/null |
24 | STORE_VERSION=$(svn log -r HEAD -q |grep ^r |cut -d' ' -f1) |
25 | echo "*** Remember to adjust mplayer ebuild with revision: \"SVN-${STORE_VERSION}\" ***" |
26 | popd > /dev/null |
27 | |
28 | find "${PACKAGE}" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf |
29 | |
30 | tar cJf ${PACKAGE}.tar.xz ${PACKAGE} |
31 | rm -rf ${PACKAGE}/ |
32 | |
33 | echo "Tarball: \"${PACKAGE}.tar.xz\"" |
34 | |
35 | echo "** all done **" |