wok view mplayer/receipt @ rev 5071

update DEPENDS: catalyst (ati radeon)
author Rohit Joshi <jozee@slitaz.org>
date Fri Mar 12 11:30:33 2010 +0000 (2010-03-12)
parents 90c513503794
children 49e501a55595
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 giflib enca lirc xorg-libXxf86vm esound"
10 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \
11 libtheora-dev lame-dev giflib-dev enca-dev lirc-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 --language="en de es fr" \
27 --disable-mmx \
28 --disable-mmxext \
29 --disable-3dnow \
30 --disable-3dnowext \
31 --disable-sse \
32 --disable-sse2 \
33 --disable-ssse3 \
34 --disable-fastmemcpy \
35 --disable-gl \
36 --disable-sdl \
37 --disable-jack \
38 --disable-liblzo \
39 --disable-libdv \
40 --disable-fribidi \
41 --disable-ivtv \
42 --disable-smb \
43 --disable-ftp \
44 --disable-openal \
45 --disable-faac \
46 --disable-speex \
47 --enable-gui &&
48 make &&
49 make DESTDIR=$PWD/_pkg install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/share
56 cp -a $_pkg/usr/bin $fs/usr
57 # Mencoder goes in a splited package.
58 rm $fs/usr/bin/mencoder
59 cp -a $_pkg/usr/share/mplayer $fs/usr/share
60 cp -a $_pkg/etc $fs
61 cp $src/etc/example.conf $fs/etc/mplayer
62 # Confi to use Xv by default.
63 cp stuff/mplayer.conf $fs/etc/mplayer
64 # default skin
65 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
66 cd $fs/usr/share/mplayer/skins && ln -s productive default
67 # Font
68 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
69 }