# HG changeset patch # User Christophe Lincoln # Date 1213560479 -7200 # Node ID e064f7b0de1da41e7db1b3d442e70b35e9885ece # Parent c2172afd880e288c62f2feb838b7672d64c4ae4d Add: MPlayer/Mencoder (Movie player) diff -r c2172afd880e -r e064f7b0de1d mencoder/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mencoder/receipt Sun Jun 15 22:07:59 2008 +0200 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="mencoder" +VERSION="1.0rc2" +CATEGORY="multimedia" +SHORT_DESC="MPlayer video and movie encoder." +MAINTAINER="pankso@slitaz.org" +WANTED="mplayer" +WEB_SITE="http://www.mplayerhq.hu/design7/news.html" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg=$WOK/$WANTED/MPlayer-$VERSION/_pkg + mkdir -p $fs/usr/bin + cp -a $_pkg/usr/bin/mencoder $fs/usr/bin +} diff -r c2172afd880e -r e064f7b0de1d mplayer-skins/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mplayer-skins/receipt Sun Jun 15 22:07:59 2008 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="mplayer-skins" +VERSION="1.0rc2" +CATEGORY="multimedia" +SHORT_DESC="MPlayer skin selection for SliTaz." +MAINTAINER="pankso@slitaz.org" +DEPENDS="mplayer" +WEB_SITE="http://www.mplayerhq.hu/design7/news.html" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/mplayer/skins + for i in stuff/*.tar.bz2 + do + tar xjf $i -C $fs/usr/share/mplayer/skins + done +} diff -r c2172afd880e -r e064f7b0de1d mplayer-skins/stuff/Abyss-1.7.tar.bz2 Binary file mplayer-skins/stuff/Abyss-1.7.tar.bz2 has changed diff -r c2172afd880e -r e064f7b0de1d mplayer-skins/stuff/Blue-1.7.tar.bz2 Binary file mplayer-skins/stuff/Blue-1.7.tar.bz2 has changed diff -r c2172afd880e -r e064f7b0de1d mplayer-skins/stuff/Blue-small-1.4.tar.bz2 Binary file mplayer-skins/stuff/Blue-small-1.4.tar.bz2 has changed diff -r c2172afd880e -r e064f7b0de1d mplayer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mplayer/receipt Sun Jun 15 22:07:59 2008 +0200 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="mplayer" +VERSION="1.0rc2" +CATEGORY="multimedia" +SHORT_DESC="The Ultimate Movie Player For Linux." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtk+ cdparanoia-III libmad" +BUILD_DEPENDS="cdparanoia-III-dev libmad-dev" +SOURCE="MPlayer" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.mplayerhq.hu/design7/news.html" +WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --confdir=/etc/mplayer \ + --libdir=/usr/lib/mplayer \ + --target=i386-linux \ + --language="en de es fr" \ + --enable-gui + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + # Mencoder goes in a splited package. + rm $fs/usr/bin/mencoder + cp -a $_pkg/usr/share/mplayer $fs/usr/share + cp -a $_pkg/etc $fs + cp $src/etc/example.conf $fs/etc/mplayer + # default skin + tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins + cd $fs/usr/share/mplayer/skins && ln -s Blue-small default + # Font + cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf +} + diff -r c2172afd880e -r e064f7b0de1d mplayer/stuff/mplayer.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mplayer/stuff/mplayer.desktop Sun Jun 15 22:07:59 2008 +0200 @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=MPlayer Multimedia player +Comment[de]=Multimedia-Player +Comment[es]=Reproductor multimedia MPlayer +Name[fr]=Lecteur multimédia MPlayer +Comment[it]=Lettore multimediale MPlayer +Icon=mplayer.xpm +TryExec=gmplayer +Exec=gmplayer %U +Terminal=false +Categories=GTK;AudioVideo;Audio;Video;Player;TV; +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; diff -r c2172afd880e -r e064f7b0de1d mplayer/stuff/productive-1.0.tar.bz2 Binary file mplayer/stuff/productive-1.0.tar.bz2 has changed