wok view mplayer/receipt @ rev 3981
Upgrade: webkit (1.1.11 to 1.1.13)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Aug 27 16:01:14 2009 +0000 (2009-08-27) |
parents | cde7fa93f1d6 |
children | 36813ca8ed29 |
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 --enable-gui &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share
46 cp -a $_pkg/usr/bin $fs/usr
47 # Mencoder goes in a splited package.
48 rm $fs/usr/bin/mencoder
49 cp -a $_pkg/usr/share/mplayer $fs/usr/share
50 cp -a $_pkg/etc $fs
51 cp $src/etc/example.conf $fs/etc/mplayer
52 # Confi to use Xv by default.
53 cp stuff/mplayer.conf $fs/etc/mplayer
54 # default skin
55 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
56 cd $fs/usr/share/mplayer/skins && ln -s productive default
57 # Font
58 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
59 }