# HG changeset patch # User Christophe Lincoln # Date 1259338746 -3600 # Node ID 5a5ab60831dd5175eb407dd14a71b0d0628fe4b0 # Parent 3eb5f48c496d8a770f8dcdbe725ef2415b43d358 Up: mplayer-svn (rev: 29969) diff -r 3eb5f48c496d -r 5a5ab60831dd mplayer-svn/receipt --- a/mplayer-svn/receipt Fri Nov 27 17:13:04 2009 +0100 +++ b/mplayer-svn/receipt Fri Nov 27 17:19:06 2009 +0100 @@ -1,44 +1,34 @@ # SliTaz package receipt. PACKAGE="mplayer-svn" -VERSION="29843" +VERSION="29969" CATEGORY="multimedia" SHORT_DESC="Mplayer SVN version" MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora ffmpeg lame libv4l" BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev - libtheora-dev ffmpeg-dev subversion" +libtheora-dev ffmpeg-dev subversion" WEB_SITE="http://www.mplayerhq.hu/design7/news.html" PROVIDES="mplayer" TAGS="player movie audio video" # Rules to configure and make the package. -# This package is compiled against shared ffmpeg. Compiling with shared ffmpeg on svn version is always challenging. -# Tip: Try to use the same day ffmpeg and mplayer versions (use: svn info), very likely to succeed -# To compile with in-built ffmpeg (and double the size of pkg), remove from compile options: -# --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a -# --disable-tv --disable-radio-v4l2 --disable-v4l2 +# +# This package is compiled against shared ffmpeg. Compiling with shared ffmpeg +# on svn version is always challenging. Tip: Try to use the same day ffmpeg and +# mplayer versions (use: svn info), very likely to succeed. +# +# To compile with in-built ffmpeg (and double the size of pkg), remove from +# compile options: +# --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a +# --disable-libpostproc_a --disable-libswscale_a +# --disable-tv --disable-radio-v4l2 --disable-v4l2 compile_rules() { - - mkdir $src 2> /dev/null + [ -d $PACKAGE-$VERSION ] || svn checkout -r $VERSION \ + svn://svn.mplayerhq.hu/mplayer/trunk $PACKAGE-$VERSION cd $src - [ -f mplayer/configure ] || svn checkout -r $VERSION \ - svn://svn.mplayerhq.hu/mplayer/trunk mplayer - cd mplayer - - while read file; do - [ -f done.$file ] && continue - echo "Apply $file..." - cp ../../stuff/$PACKAGE-$VERSION-$file . - patch -p0 < $PACKAGE-$VERSION-$file || return 1 - touch done.$file - done <