wok-current annotate mplayer/receipt @ rev 3925

mirror-tools/mkpkgiso: tiny cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 19 10:13:45 2009 +0200 (2009-08-19)
parents cde7fa93f1d6
children 36813ca8ed29
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@1652 37 --enable-gui &&
pascal@1652 38 make &&
pankso@913 39 make DESTDIR=$PWD/_pkg install
pankso@913 40 }
pankso@913 41
pankso@913 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@913 43 genpkg_rules()
pankso@913 44 {
pankso@913 45 mkdir -p $fs/usr/share
pankso@913 46 cp -a $_pkg/usr/bin $fs/usr
pankso@913 47 # Mencoder goes in a splited package.
pankso@913 48 rm $fs/usr/bin/mencoder
pankso@913 49 cp -a $_pkg/usr/share/mplayer $fs/usr/share
pankso@913 50 cp -a $_pkg/etc $fs
pankso@913 51 cp $src/etc/example.conf $fs/etc/mplayer
pankso@1076 52 # Confi to use Xv by default.
pankso@1076 53 cp stuff/mplayer.conf $fs/etc/mplayer
pankso@913 54 # default skin
pankso@913 55 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
pankso@978 56 cd $fs/usr/share/mplayer/skins && ln -s productive default
pankso@913 57 # Font
pankso@913 58 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
pankso@913 59 }
pankso@913 60