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