wok-4.x rev 913

Add: MPlayer/Mencoder (Movie player)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 15 22:07:59 2008 +0200 (2008-06-15)
parents c2172afd880e
children 4fff3a92371f
files mencoder/receipt mplayer-skins/receipt mplayer-skins/stuff/Abyss-1.7.tar.bz2 mplayer-skins/stuff/Blue-1.7.tar.bz2 mplayer-skins/stuff/Blue-small-1.4.tar.bz2 mplayer/receipt mplayer/stuff/mplayer.desktop mplayer/stuff/productive-1.0.tar.bz2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mencoder/receipt	Sun Jun 15 22:07:59 2008 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mencoder"
     1.7 +VERSION="1.0rc2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="MPlayer video and movie encoder."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="mplayer"
    1.12 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	_pkg=$WOK/$WANTED/MPlayer-$VERSION/_pkg
    1.18 +	mkdir -p $fs/usr/bin
    1.19 +	cp -a $_pkg/usr/bin/mencoder $fs/usr/bin
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mplayer-skins/receipt	Sun Jun 15 22:07:59 2008 +0200
     2.3 @@ -0,0 +1,19 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mplayer-skins"
     2.7 +VERSION="1.0rc2"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="MPlayer skin selection for SliTaz."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="mplayer"
    2.12 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/share/mplayer/skins
    2.18 +	for i in stuff/*.tar.bz2
    2.19 +	do
    2.20 +		tar xjf $i -C $fs/usr/share/mplayer/skins
    2.21 +	done
    2.22 +}
     3.1 Binary file mplayer-skins/stuff/Abyss-1.7.tar.bz2 has changed
     4.1 Binary file mplayer-skins/stuff/Blue-1.7.tar.bz2 has changed
     5.1 Binary file mplayer-skins/stuff/Blue-small-1.4.tar.bz2 has changed
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/mplayer/receipt	Sun Jun 15 22:07:59 2008 +0200
     6.3 @@ -0,0 +1,46 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="mplayer"
     6.7 +VERSION="1.0rc2"
     6.8 +CATEGORY="multimedia"
     6.9 +SHORT_DESC="The Ultimate Movie Player For Linux."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +DEPENDS="gtk+ cdparanoia-III libmad"
    6.12 +BUILD_DEPENDS="cdparanoia-III-dev libmad-dev"
    6.13 +SOURCE="MPlayer"
    6.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    6.15 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
    6.16 +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
    6.17 +
    6.18 +# Rules to configure and make the package.
    6.19 +compile_rules()
    6.20 +{
    6.21 +	cd $src
    6.22 +	./configure \
    6.23 +		--prefix=/usr \
    6.24 +		--confdir=/etc/mplayer \
    6.25 +		--libdir=/usr/lib/mplayer \
    6.26 +		--target=i386-linux \
    6.27 +		--language="en de es fr" \
    6.28 +		--enable-gui 
    6.29 +	make
    6.30 +	make DESTDIR=$PWD/_pkg install
    6.31 +}
    6.32 +
    6.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.34 +genpkg_rules()
    6.35 +{
    6.36 +	mkdir -p $fs/usr/share
    6.37 +	cp -a $_pkg/usr/bin $fs/usr
    6.38 +	# Mencoder goes in a splited package.
    6.39 +	rm $fs/usr/bin/mencoder
    6.40 +	cp -a $_pkg/usr/share/mplayer $fs/usr/share
    6.41 +	cp -a $_pkg/etc $fs
    6.42 +	cp $src/etc/example.conf $fs/etc/mplayer
    6.43 +	# default skin
    6.44 +	tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
    6.45 +	cd $fs/usr/share/mplayer/skins && ln -s Blue-small default
    6.46 +	# Font
    6.47 +	cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    6.48 +}
    6.49 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/mplayer/stuff/mplayer.desktop	Sun Jun 15 22:07:59 2008 +0200
     7.3 @@ -0,0 +1,14 @@
     7.4 +[Desktop Entry]
     7.5 +Type=Application
     7.6 +Encoding=UTF-8
     7.7 +Name=MPlayer Multimedia player
     7.8 +Comment[de]=Multimedia-Player
     7.9 +Comment[es]=Reproductor multimedia MPlayer
    7.10 +Name[fr]=Lecteur multimédia MPlayer
    7.11 +Comment[it]=Lettore multimediale MPlayer
    7.12 +Icon=mplayer.xpm
    7.13 +TryExec=gmplayer
    7.14 +Exec=gmplayer %U
    7.15 +Terminal=false
    7.16 +Categories=GTK;AudioVideo;Audio;Video;Player;TV;
    7.17 +MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;
     8.1 Binary file mplayer/stuff/productive-1.0.tar.bz2 has changed