wok view mplayer/receipt @ rev 11682
Up: git to 1.7.9.1. Add git-daemon so the user can run a web daemon of git repos.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 18 08:37:39 2012 -0500 (2012-02-18) |
parents | 8e4c74abdf74 |
children | c9a0e2565b4f |
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 $MAKEFLAGS &&
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/applications
58 cp -a $stuff/mplayer.desktop $fs/usr/share/applications
59 cp -a $_pkg/usr/bin $fs/usr
60 # Mencoder goes in a splited package.
61 rm $fs/usr/bin/mencoder
62 cp -a $_pkg/usr/share/mplayer $fs/usr/share
63 cp -a $_pkg/etc $fs
64 cp $src/etc/example.conf $fs/etc/mplayer
65 # Confi to use Xv by default.
66 cp stuff/mplayer.conf $fs/etc/mplayer
67 # default skin
68 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
69 cd $fs/usr/share/mplayer/skins && ln -s productive default
70 # Font
71 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
72 }