wok-6.x annotate mplayer/receipt @ rev 2327
slitaz-tools: tyny update (2.10.1) fro Cooking release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 28 02:14:16 2009 +0100 (2009-02-28) |
parents | fd502a1aefd9 |
children | cde7fa93f1d6 |
rev | line source |
---|---|
pankso@913 | 1 # SliTaz package receipt. |
pankso@913 | 2 |
pankso@913 | 3 PACKAGE="mplayer" |
pankso@913 | 4 VERSION="1.0rc2" |
pankso@913 | 5 CATEGORY="multimedia" |
pankso@913 | 6 SHORT_DESC="The Ultimate Movie Player For Linux." |
pankso@913 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1107 | 8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora" |
pankso@1107 | 9 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev |
pankso@1107 | 10 libtheora-dev" |
pankso@913 | 11 SOURCE="MPlayer" |
pankso@913 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@913 | 13 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" |
pankso@913 | 14 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" |
pankso@913 | 15 |
pankso@913 | 16 # Rules to configure and make the package. |
pankso@913 | 17 compile_rules() |
pankso@913 | 18 { |
pankso@913 | 19 cd $src |
pankso@913 | 20 ./configure \ |
pankso@913 | 21 --prefix=/usr \ |
pankso@913 | 22 --confdir=/etc/mplayer \ |
pankso@913 | 23 --libdir=/usr/lib/mplayer \ |
pankso@913 | 24 --target=i386-linux \ |
pascal@1652 | 25 --disable-mmx --disable-mmxext \ |
pascal@1652 | 26 --disable-3dnow --disable-3dnowext \ |
pascal@1652 | 27 --disable-sse --disable-sse2 --disable-ssse3 \ |
pascal@1652 | 28 --disable-fastmemcpy \ |
pankso@913 | 29 --language="en de es fr" \ |
pascal@1652 | 30 --disable-gl \ |
pascal@1652 | 31 --disable-sdl \ |
pascal@1652 | 32 --disable-jack \ |
pascal@1652 | 33 --disable-liblzo \ |
pascal@1652 | 34 --disable-libdv \ |
pascal@1652 | 35 --disable-fribidi \ |
pascal@1652 | 36 --enable-gui && |
pascal@1652 | 37 make && |
pankso@913 | 38 make DESTDIR=$PWD/_pkg install |
pankso@913 | 39 } |
pankso@913 | 40 |
pankso@913 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@913 | 42 genpkg_rules() |
pankso@913 | 43 { |
pankso@913 | 44 mkdir -p $fs/usr/share |
pankso@913 | 45 cp -a $_pkg/usr/bin $fs/usr |
pankso@913 | 46 # Mencoder goes in a splited package. |
pankso@913 | 47 rm $fs/usr/bin/mencoder |
pankso@913 | 48 cp -a $_pkg/usr/share/mplayer $fs/usr/share |
pankso@913 | 49 cp -a $_pkg/etc $fs |
pankso@913 | 50 cp $src/etc/example.conf $fs/etc/mplayer |
pankso@1076 | 51 # Confi to use Xv by default. |
pankso@1076 | 52 cp stuff/mplayer.conf $fs/etc/mplayer |
pankso@913 | 53 # default skin |
pankso@913 | 54 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins |
pankso@978 | 55 cd $fs/usr/share/mplayer/skins && ln -s productive default |
pankso@913 | 56 # Font |
pankso@913 | 57 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf |
pankso@913 | 58 } |
pankso@913 | 59 |