wok rev 13017

Up: mplayer (1.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 08 21:03:58 2012 +0200 (2012-06-08)
parents 0bfc759d1bad
children 77dd49ac7bac
files mencoder/receipt mplayer-codecs/receipt mplayer-skins/receipt mplayer/receipt
line diff
     1.1 --- a/mencoder/receipt	Fri Jun 08 21:03:02 2012 +0200
     1.2 +++ b/mencoder/receipt	Fri Jun 08 21:03:58 2012 +0200
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mencoder"
     1.7 -VERSION="1.0rc4"
     1.8 +VERSION="1.1"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="MPlayer video and movie encoder."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="libtheora alsa-lib cdparanoia-III expat libogg libvorbis \
    1.13 -fontconfig freetype x264 xvidcore jpeg libmad ncurses zlib lame libpng giflib enca lirc"
    1.14  WANTED="mplayer"
    1.15  WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.16  
    1.17 +DEPENDS="libtheora alsa-lib cdparanoia-III expat libogg libvorbis \
    1.18 +fontconfig freetype x264 xvidcore jpeg libmad ncurses zlib lame \
    1.19 +libpng giflib enca lirc"
    1.20 +
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/bin
    1.25 -	cp -a $_pkg/usr/bin/mencoder $fs/usr/bin
    1.26 +	cp -a $install/usr/bin/mencoder $fs/usr/bin
    1.27  }
     2.1 --- a/mplayer-codecs/receipt	Fri Jun 08 21:03:02 2012 +0200
     2.2 +++ b/mplayer-codecs/receipt	Fri Jun 08 21:03:58 2012 +0200
     2.3 @@ -1,21 +1,22 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="mplayer-codecs"
     2.7 -VERSION="1.0rc3"
     2.8 +VERSION="1.1"
     2.9  CATEGORY="multimedia"
    2.10  SHORT_DESC="All MPlayer codecs for SliTaz."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 -DEPENDS="mplayer"
    2.13  WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 -WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2"
    2.16 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2"
    2.17 +
    2.18 +DEPENDS="mplayer"
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23  	mkdir -p $fs/usr/lib/mplayer/codecs
    2.24  	cp -a $src/* $fs/usr/lib/mplayer/codecs
    2.25 -	# remove codec depending on libstdc++.so.5
    2.26 +	# Remove codec depending on libstdc++.so.5
    2.27  	rm -f $fs/usr/lib/mplayer/codecs/drvc.so
    2.28  	rm -f $fs/usr/lib/mplayer/codecs/cook.so
    2.29 -}
    2.30 \ No newline at end of file
    2.31 +}
     3.1 --- a/mplayer-skins/receipt	Fri Jun 08 21:03:02 2012 +0200
     3.2 +++ b/mplayer-skins/receipt	Fri Jun 08 21:03:58 2012 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="mplayer-skins"
     3.7 -VERSION="1.0rc4"
     3.8 +VERSION="1.1"
     3.9  CATEGORY="multimedia"
    3.10  SHORT_DESC="MPlayer skin selection for SliTaz."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 @@ -12,7 +12,7 @@
    3.13  genpkg_rules()
    3.14  {
    3.15  	mkdir -p $fs/usr/share/mplayer/skins
    3.16 -	for i in stuff/*.tar.bz2
    3.17 +	for i in $stuff/*.tar.bz2
    3.18  	do
    3.19  		tar xjf $i -C $fs/usr/share/mplayer/skins
    3.20  	done
     4.1 --- a/mplayer/receipt	Fri Jun 08 21:03:02 2012 +0200
     4.2 +++ b/mplayer/receipt	Fri Jun 08 21:03:58 2012 +0200
     4.3 @@ -1,20 +1,23 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="mplayer"
     4.7 -VERSION="1.0rc4"
     4.8 +VERSION="1.1"
     4.9  CATEGORY="multimedia"
    4.10  SHORT_DESC="The Ultimate Movie Player For Linux."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12 +SOURCE="MPlayer"
    4.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    4.14 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    4.15 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    4.16 +
    4.17  DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
    4.18  lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
    4.19  libvorbis libogg xvidcore x264 zlib xorg-libXss"
    4.20 -BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev alsa-lib-dev ncurses-dev \
    4.21 -lame-dev xorg-libXdamage-dev giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
    4.22 -audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev xorg-xextproto pkg-config"
    4.23 -SOURCE="MPlayer"
    4.24 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    4.25 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    4.26 -WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    4.27 +BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \
    4.28 +libtheora-dev alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev \
    4.29 +giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
    4.30 +audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev \
    4.31 +xorg-xextproto pkg-config yasm"
    4.32  
    4.33  # Rules to configure and make the package.
    4.34  compile_rules()
    4.35 @@ -25,7 +28,7 @@
    4.36  		--confdir=/etc/mplayer \
    4.37  		--libdir=/usr/lib/mplayer \
    4.38  		--target=i386-linux \
    4.39 -		--language="en de es fr" \
    4.40 +		--language="en de es fr it ru" \
    4.41  		--disable-mmx \
    4.42  		--disable-mmxext \
    4.43  		--disable-3dnow \
    4.44 @@ -48,24 +51,23 @@
    4.45  		--disable-speex \
    4.46  		--enable-gui &&
    4.47  	make $MAKEFLAGS &&
    4.48 -	make DESTDIR=$PWD/_pkg install
    4.49 +	make DESTDIR=$DESTDIR install
    4.50  }
    4.51  
    4.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.53  genpkg_rules()
    4.54  {
    4.55 -	mkdir -p $fs/usr/share/applications
    4.56 -	cp -a $stuff/mplayer.desktop $fs/usr/share/applications
    4.57 -	cp -a $_pkg/usr/bin $fs/usr
    4.58 +	mkdir -p $fs/usr/share
    4.59 +	cp -a $install/usr/bin $fs/usr
    4.60  	# Mencoder goes in a splited package.
    4.61  	rm $fs/usr/bin/mencoder
    4.62 -	cp -a $_pkg/usr/share/mplayer $fs/usr/share
    4.63 -	cp -a $_pkg/etc $fs
    4.64 +	cp -a $install/usr/share/mplayer $fs/usr/share
    4.65 +	cp -a $install/etc $fs
    4.66  	cp $src/etc/example.conf $fs/etc/mplayer
    4.67 -	# Confi to use Xv by default.
    4.68 -	cp stuff/mplayer.conf $fs/etc/mplayer
    4.69 +	# Config to use Xv by default.
    4.70 +	cp $stuff/mplayer.conf $fs/etc/mplayer
    4.71  	# default skin
    4.72 -	tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    4.73 +	tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    4.74  	cd $fs/usr/share/mplayer/skins && ln -s productive default
    4.75  	# Font
    4.76  	cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf