wok-current view mplayer/receipt @ rev 9101

esmart: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 23:27:35 2011 +0100 (2011-03-04)
parents e4fa458fcb84
children 8e4c74abdf74
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer"
4 VERSION="1.0rc4"
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 libmng audiofile \
10 libvorbis libogg xvidcore x264 zlib xorg-libXss"
11 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev alsa-lib-dev ncurses-dev \
12 lame-dev xorg-libXdamage-dev giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
13 audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev xorg-xextproto pkg-config"
14 SOURCE="MPlayer"
15 TARBALL="$SOURCE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
17 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --confdir=/etc/mplayer \
26 --libdir=/usr/lib/mplayer \
27 --target=i386-linux \
28 --language="en de es fr" \
29 --disable-mmx \
30 --disable-mmxext \
31 --disable-3dnow \
32 --disable-3dnowext \
33 --disable-sse \
34 --disable-sse2 \
35 --disable-ssse3 \
36 --disable-fastmemcpy \
37 --disable-gl \
38 --disable-sdl \
39 --disable-jack \
40 --disable-liblzo \
41 --disable-libdv \
42 --disable-fribidi \
43 --disable-ivtv \
44 --disable-smb \
45 --disable-ftp \
46 --disable-openal \
47 --disable-faac \
48 --disable-speex \
49 --enable-gui &&
50 make -j 4 &&
51 make DESTDIR=$PWD/_pkg install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/share
58 cp -a $_pkg/usr/bin $fs/usr
59 # Mencoder goes in a splited package.
60 rm $fs/usr/bin/mencoder
61 cp -a $_pkg/usr/share/mplayer $fs/usr/share
62 cp -a $_pkg/etc $fs
63 cp $src/etc/example.conf $fs/etc/mplayer
64 # Confi to use Xv by default.
65 cp stuff/mplayer.conf $fs/etc/mplayer
66 # default skin
67 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
68 cd $fs/usr/share/mplayer/skins && ln -s productive default
69 # Font
70 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
71 }