wok view mplayer/receipt @ rev 14573
Transmission-cli shouldn't install Transmission-gtk
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Fri May 24 18:26:23 2013 +0200 (2013-05-24) |
parents | af9a1b47948c |
children | bb009a6ef036 |
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 SOURCE="MPlayer"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
11 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
13 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
14 lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
15 libvorbis libogg xvidcore x264 zlib xorg-libXss"
16 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev \
17 libtheora-dev alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev \
18 giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
19 audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev \
20 xorg-xextproto pkg-config yasm"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --confdir=/etc/mplayer \
29 --libdir=/usr/lib/mplayer \
30 --target=i386-linux \
31 --language="en de es fr it ru" \
32 --disable-mmx \
33 --disable-mmxext \
34 --disable-3dnow \
35 --disable-3dnowext \
36 --disable-sse \
37 --disable-sse2 \
38 --disable-ssse3 \
39 --disable-fastmemcpy \
40 --disable-gl \
41 --disable-sdl \
42 --disable-jack \
43 --disable-liblzo \
44 --disable-libdv \
45 --disable-fribidi \
46 --disable-ivtv \
47 --disable-smb \
48 --disable-ftp \
49 --disable-openal \
50 --disable-faac \
51 --disable-speex \
52 --enable-gui &&
53 make $MAKEFLAGS &&
54 make DESTDIR=$DESTDIR install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr/share
61 cp -a $install/usr/bin $fs/usr
62 # Mencoder goes in a splited package.
63 rm $fs/usr/bin/mencoder
64 cp -a $install/usr/share/mplayer $fs/usr/share
65 cp -a $install/etc $fs
66 cp $src/etc/example.conf $fs/etc/mplayer
67 # Config to use Xv by default.
68 cp $stuff/mplayer.conf $fs/etc/mplayer
69 # default skin
70 tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
71 cd $fs/usr/share/mplayer/skins && ln -s productive default
72 # Font
73 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
74 }