wok annotate mplayer/receipt @ rev 4434

slitaz-menus: add name[pt] to some desktop-directories files
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Oct 27 12:37:19 2009 +0000 (2009-10-27)
parents faf21c50d61f
children fb51aea1e664
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"
pascal@2519 8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
pascal@2519 9 lame xorg-libXdamage"
pankso@1107 10 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev
pankso@1107 11 libtheora-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 \
pascal@1652 26 --disable-mmx --disable-mmxext \
pascal@1652 27 --disable-3dnow --disable-3dnowext \
pascal@1652 28 --disable-sse --disable-sse2 --disable-ssse3 \
pascal@1652 29 --disable-fastmemcpy \
pankso@913 30 --language="en de es fr" \
pascal@1652 31 --disable-gl \
pascal@1652 32 --disable-sdl \
pascal@1652 33 --disable-jack \
pascal@1652 34 --disable-liblzo \
pascal@1652 35 --disable-libdv \
pascal@1652 36 --disable-fribidi \
pascal@4290 37 --disable-ivtv \
pascal@1652 38 --enable-gui &&
pascal@1652 39 make &&
pankso@913 40 make DESTDIR=$PWD/_pkg install
pankso@913 41 }
pankso@913 42
pankso@913 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@913 44 genpkg_rules()
pankso@913 45 {
pankso@913 46 mkdir -p $fs/usr/share
pankso@913 47 cp -a $_pkg/usr/bin $fs/usr
pankso@913 48 # Mencoder goes in a splited package.
pankso@913 49 rm $fs/usr/bin/mencoder
pankso@913 50 cp -a $_pkg/usr/share/mplayer $fs/usr/share
pankso@913 51 cp -a $_pkg/etc $fs
pankso@913 52 cp $src/etc/example.conf $fs/etc/mplayer
pankso@1076 53 # Confi to use Xv by default.
pankso@1076 54 cp stuff/mplayer.conf $fs/etc/mplayer
pankso@913 55 # default skin
pankso@913 56 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
pankso@978 57 cd $fs/usr/share/mplayer/skins && ln -s productive default
pankso@913 58 # Font
pankso@913 59 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
pankso@913 60 }
pankso@913 61