wok annotate mplayer/receipt @ rev 6477
Up: gnuplot to 4.4.0. Don't update to 4.4.2. It doesn't work with newer readline 6.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 30 00:14:14 2010 +0000 (2010-09-30) |
parents | 49e501a55595 |
children | beb195c02e38 |
rev | line source |
---|---|
pankso@913 | 1 # SliTaz package receipt. |
pankso@913 | 2 |
pankso@913 | 3 PACKAGE="mplayer" |
slaxemulator@6232 | 4 VERSION="1.0rc3" |
pankso@913 | 5 CATEGORY="multimedia" |
pankso@913 | 6 SHORT_DESC="The Ultimate Movie Player For Linux." |
pankso@913 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2519 | 8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \ |
pascal@5004 | 9 lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound" |
pankso@4458 | 10 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \ |
pankso@4771 | 11 libtheora-dev lame-dev giflib-dev enca-dev lirc-dev" |
pankso@913 | 12 SOURCE="MPlayer" |
pankso@913 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@913 | 14 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" |
pankso@913 | 15 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" |
pankso@913 | 16 |
pankso@913 | 17 # Rules to configure and make the package. |
pankso@913 | 18 compile_rules() |
pankso@913 | 19 { |
pankso@913 | 20 cd $src |
pankso@913 | 21 ./configure \ |
pankso@913 | 22 --prefix=/usr \ |
pankso@913 | 23 --confdir=/etc/mplayer \ |
pankso@913 | 24 --libdir=/usr/lib/mplayer \ |
pankso@913 | 25 --target=i386-linux \ |
pankso@4458 | 26 --language="en de es fr" \ |
pankso@4458 | 27 --disable-mmx \ |
pankso@4458 | 28 --disable-mmxext \ |
pankso@4458 | 29 --disable-3dnow \ |
pankso@4458 | 30 --disable-3dnowext \ |
pankso@4458 | 31 --disable-sse \ |
pankso@4458 | 32 --disable-sse2 \ |
pankso@4458 | 33 --disable-ssse3 \ |
pascal@1652 | 34 --disable-fastmemcpy \ |
pascal@1652 | 35 --disable-gl \ |
pascal@1652 | 36 --disable-sdl \ |
pascal@1652 | 37 --disable-jack \ |
pascal@1652 | 38 --disable-liblzo \ |
pascal@1652 | 39 --disable-libdv \ |
pascal@1652 | 40 --disable-fribidi \ |
pascal@4290 | 41 --disable-ivtv \ |
pankso@4458 | 42 --disable-smb \ |
pankso@4458 | 43 --disable-ftp \ |
pankso@4458 | 44 --disable-openal \ |
pankso@4458 | 45 --disable-faac \ |
pankso@4458 | 46 --disable-speex \ |
pascal@1652 | 47 --enable-gui && |
pascal@5781 | 48 make -j 4 && |
pankso@913 | 49 make DESTDIR=$PWD/_pkg install |
pankso@913 | 50 } |
pankso@913 | 51 |
pankso@913 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@913 | 53 genpkg_rules() |
pankso@913 | 54 { |
pankso@913 | 55 mkdir -p $fs/usr/share |
pankso@913 | 56 cp -a $_pkg/usr/bin $fs/usr |
pankso@913 | 57 # Mencoder goes in a splited package. |
pankso@913 | 58 rm $fs/usr/bin/mencoder |
pankso@913 | 59 cp -a $_pkg/usr/share/mplayer $fs/usr/share |
pankso@913 | 60 cp -a $_pkg/etc $fs |
pankso@913 | 61 cp $src/etc/example.conf $fs/etc/mplayer |
pankso@1076 | 62 # Confi to use Xv by default. |
pankso@1076 | 63 cp stuff/mplayer.conf $fs/etc/mplayer |
pankso@913 | 64 # default skin |
pankso@913 | 65 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins |
pankso@978 | 66 cd $fs/usr/share/mplayer/skins && ln -s productive default |
pankso@913 | 67 # Font |
pankso@913 | 68 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf |
pankso@913 | 69 } |