wok annotate mplayer/receipt @ rev 1069

mplayer: add dep xorg-libXv (full screen support)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jul 15 22:37:28 2008 +0200 (2008-07-15)
parents 297ad3bc6436
children 5f25cfcd0de2
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@1069 8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv"
pankso@1069 9 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev"
pankso@913 10 SOURCE="MPlayer"
pankso@913 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@913 12 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
pankso@913 13 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
pankso@913 14
pankso@913 15 # Rules to configure and make the package.
pankso@913 16 compile_rules()
pankso@913 17 {
pankso@913 18 cd $src
pankso@913 19 ./configure \
pankso@913 20 --prefix=/usr \
pankso@913 21 --confdir=/etc/mplayer \
pankso@913 22 --libdir=/usr/lib/mplayer \
pankso@913 23 --target=i386-linux \
pankso@913 24 --language="en de es fr" \
pankso@913 25 --enable-gui
pankso@913 26 make
pankso@913 27 make DESTDIR=$PWD/_pkg install
pankso@913 28 }
pankso@913 29
pankso@913 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@913 31 genpkg_rules()
pankso@913 32 {
pankso@913 33 mkdir -p $fs/usr/share
pankso@913 34 cp -a $_pkg/usr/bin $fs/usr
pankso@913 35 # Mencoder goes in a splited package.
pankso@913 36 rm $fs/usr/bin/mencoder
pankso@913 37 cp -a $_pkg/usr/share/mplayer $fs/usr/share
pankso@913 38 cp -a $_pkg/etc $fs
pankso@913 39 cp $src/etc/example.conf $fs/etc/mplayer
pankso@913 40 # default skin
pankso@913 41 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
pankso@978 42 cd $fs/usr/share/mplayer/skins && ln -s productive default
pankso@913 43 # Font
pankso@913 44 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
pankso@913 45 }
pankso@913 46