wok-current view mplayer/receipt @ rev 4450

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