wok-next annotate mplayer/receipt @ rev 15679

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