# HG changeset patch # User Antoine Bodin # Date 1297634276 -3600 # Node ID 1d765f8acefe928e850d70b0b650d198b5152392 # Parent 8d4ecbb30029ea6d7979088628d3d5502bec0581 imported patch get/mplayer-svn diff -r 8d4ecbb30029 -r 1d765f8acefe mplayer-svn/receipt --- a/mplayer-svn/receipt Sun Feb 13 22:57:56 2011 +0100 +++ b/mplayer-svn/receipt Sun Feb 13 22:57:56 2011 +0100 @@ -13,6 +13,8 @@ WEB_SITE="http://www.mplayerhq.hu/design7/news.html" PROVIDES="mplayer" TAGS="player movie audio video" +WGET_URL="subversion|svn://svn.mplayerhq.hu/mplayer/trunk" +BRANCH="$VERSION" # Rules to configure and make the package. # @@ -27,14 +29,6 @@ compile_rules() { - TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma - if [ -f $TARBALL ]; then - unlzma -c $TARBALL | tar xf - - else - svn checkout -r $VERSION \ - svn://svn.mplayerhq.hu/mplayer/trunk $PACKAGE-$VERSION && - tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si - fi cd $src KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure