wok rev 2909
Add: mplayern from svn; built with shared ffmpeg; small size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed May 06 13:11:57 2009 +0000 (2009-05-06) |
parents | 96ff12f60c06 |
children | 9d6e5bdcdd3d |
files | mplayer-svn/receipt mplayer-svn/stuff/mplayer.conf mplayer-svn/stuff/mplayer.desktop mplayer-svn/stuff/productive-1.0.tar.bz2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mplayer-svn/receipt Wed May 06 13:11:57 2009 +0000 1.3 @@ -0,0 +1,74 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mplayer-svn" 1.7 +VERSION="29268" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Mplayer SVN version" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora ffmpeg" 1.12 +BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev 1.13 + libtheora-dev ffmpeg-dev subversion" 1.14 +WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 1.15 +PROVIDES="mplayer" 1.16 +TAGS="player movie audio video" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +# This package is compiled against shared ffmpeg. Compiling with shared ffmpeg on svn version is always challenging. 1.20 +# Tip: Try to use the same day ffmpeg and mplayer versions (use: svn info), very likely to succeed 1.21 +# To compile with in-built ffmpeg (and double the size of pkg), remove from compile options: 1.22 +# --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a 1.23 + 1.24 +compile_rules() 1.25 +{ 1.26 + 1.27 + mkdir $src 2> /dev/null 1.28 + cd $src 1.29 + [ -f mplayer/configure ] || svn checkout -r $VERSION \ 1.30 + svn://svn.mplayerhq.hu/mplayer/trunk mplayer 1.31 + cd mplayer 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --confdir=/etc/mplayer \ 1.35 + --libdir=/usr/lib/mplayer \ 1.36 + --disable-largefiles \ 1.37 + --disable-mmx --disable-mmxext \ 1.38 + --disable-3dnow --disable-3dnowext \ 1.39 + --disable-sse --disable-sse2 --disable-ssse3 \ 1.40 + --disable-fastmemcpy \ 1.41 + --language="en de es fr" \ 1.42 + --disable-gl \ 1.43 + --disable-sdl \ 1.44 + --disable-jack \ 1.45 + --disable-liblzo \ 1.46 + --disable-libdv \ 1.47 + --disable-libavcodec_a \ 1.48 + --disable-libavformat_a \ 1.49 + --disable-libpostproc_a \ 1.50 + --disable-libswscale_a \ 1.51 + --disable-fribidi --target=i386-linux --disable-libavutil_a \ 1.52 + --disable-tv --disable-tv-teletext --disable-radio-v4l2 --disable-v4l2 \ 1.53 + --disable-musepack --disable-dvdnav --disable-esd --disable-mga \ 1.54 + --disable-libamr_nb --disable-lirc --disable-nas --enable-gui && 1.55 + make && 1.56 + make DESTDIR=$PWD/../_pkg install 1.57 +} 1.58 + 1.59 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.60 +genpkg_rules() 1.61 +{ 1.62 + mkdir -p $fs/usr/share 1.63 + cp -a $_pkg/usr/bin $fs/usr 1.64 + # Mencoder goes in a splited package. 1.65 + rm $fs/usr/bin/mencoder 1.66 + cp -a $_pkg/usr/share/mplayer $fs/usr/share 1.67 + cp -a $_pkg/etc $fs 1.68 + cp $src/mplayer/etc/example.conf $fs/etc/mplayer 1.69 + # Config to use Xv by default. 1.70 + cp stuff/mplayer.conf $fs/etc/mplayer 1.71 + # default skin 1.72 + tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins 1.73 + cd $fs/usr/share/mplayer/skins && ln -s productive default 1.74 + # Font 1.75 + cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf 1.76 +} 1.77 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mplayer-svn/stuff/mplayer.conf Wed May 06 13:11:57 2009 +0000 2.3 @@ -0,0 +1,10 @@ 2.4 +# /etc/mplayer/mplayer.conf: MPlayer default configuration for SliTaz. 2.5 +# For more info and examples, please see: /etc/mplayer/example.conf 2.6 +# 2.7 + 2.8 +# Specify default video driver (see -vo help for a list). 2.9 +vo=xv 2.10 + 2.11 +# Specify default audio driver (see -ao help for a list). 2.12 +ao=alsa 2.13 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mplayer-svn/stuff/mplayer.desktop Wed May 06 13:11:57 2009 +0000 3.3 @@ -0,0 +1,14 @@ 3.4 +[Desktop Entry] 3.5 +Type=Application 3.6 +Encoding=UTF-8 3.7 +Name=MPlayer Multimedia player 3.8 +Comment[de]=Multimedia-Player 3.9 +Comment[es]=Reproductor multimedia MPlayer 3.10 +Name[fr]=Lecteur multimédia MPlayer 3.11 +Comment[it]=Lettore multimediale MPlayer 3.12 +Icon=mplayer.xpm 3.13 +TryExec=gmplayer 3.14 +Exec=gmplayer %U 3.15 +Terminal=false 3.16 +Categories=GTK;AudioVideo;Audio;Video;Player;TV; 3.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;
4.1 Binary file mplayer-svn/stuff/productive-1.0.tar.bz2 has changed