wok view mplayer/receipt @ rev 15883

python-pillow: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 22:17:45 2014 +0000 (2014-02-06)
parents c9a0e2565b4f
children 4011b51eb28e
line source
1 # SliTaz package receipt.
3 PACKAGE="mplayer"
4 VERSION="1.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="The Ultimate Movie Player For Linux."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="MPlayer"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
12 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
14 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
15 lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
16 libvorbis libogg xvidcore x264 zlib xorg-libXss"
17 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \
18 libtheora-dev alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev \
19 giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
20 audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev \
21 xorg-xextproto pkg-config yasm"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --confdir=/etc/mplayer \
30 --libdir=/usr/lib/mplayer \
31 --target=i386-linux \
32 --language="en de es fr it ru" \
33 --disable-mmx \
34 --disable-mmxext \
35 --disable-3dnow \
36 --disable-3dnowext \
37 --disable-sse \
38 --disable-sse2 \
39 --disable-ssse3 \
40 --disable-fastmemcpy \
41 --disable-gl \
42 --disable-sdl \
43 --disable-jack \
44 --disable-liblzo \
45 --disable-libdv \
46 --disable-fribidi \
47 --disable-ivtv \
48 --disable-smb \
49 --disable-ftp \
50 --disable-openal \
51 --disable-faac \
52 --disable-speex \
53 --enable-gui &&
54 make $MAKEFLAGS &&
55 make DESTDIR=$DESTDIR install
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 mkdir -p $fs/usr/share
62 cp -a $install/usr/bin $fs/usr
63 # Mencoder goes in a splited package.
64 rm $fs/usr/bin/mencoder
65 cp -a $install/usr/share/mplayer $fs/usr/share
66 cp -a $install/etc $fs
67 cp $src/etc/example.conf $fs/etc/mplayer
68 # Config to use Xv by default.
69 cp $stuff/mplayer.conf $fs/etc/mplayer
70 # default skin
71 tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
72 cd $fs/usr/share/mplayer/skins && ln -s productive default
73 # Font
74 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
75 }