wok view mplayer/receipt @ rev 1882

aufs*: use squashfs naming convention
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 17 14:43:38 2008 +0000 (2008-12-17)
parents fd502a1aefd9
children cde7fa93f1d6
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"
9 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev
10 libtheora-dev"
11 SOURCE="MPlayer"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
14 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --confdir=/etc/mplayer \
23 --libdir=/usr/lib/mplayer \
24 --target=i386-linux \
25 --disable-mmx --disable-mmxext \
26 --disable-3dnow --disable-3dnowext \
27 --disable-sse --disable-sse2 --disable-ssse3 \
28 --disable-fastmemcpy \
29 --language="en de es fr" \
30 --disable-gl \
31 --disable-sdl \
32 --disable-jack \
33 --disable-liblzo \
34 --disable-libdv \
35 --disable-fribidi \
36 --enable-gui &&
37 make &&
38 make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $_pkg/usr/bin $fs/usr
46 # Mencoder goes in a splited package.
47 rm $fs/usr/bin/mencoder
48 cp -a $_pkg/usr/share/mplayer $fs/usr/share
49 cp -a $_pkg/etc $fs
50 cp $src/etc/example.conf $fs/etc/mplayer
51 # Confi to use Xv by default.
52 cp stuff/mplayer.conf $fs/etc/mplayer
53 # default skin
54 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
55 cd $fs/usr/share/mplayer/skins && ln -s productive default
56 # Font
57 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
58 }