wok annotate mplayer/receipt @ rev 7220

Added libcomerr to samba-common instead of libcomerr3 since libsmbclient.so* needs libcomerr.so.2 to work. Added libcomerr-dev to samba build depends so it will build with it in clean chroot.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 11 00:10:18 2010 +0000 (2010-11-11)
parents 5cf4a8f74371
children 39c37202c486
rev   line source
pankso@913 1 # SliTaz package receipt.
pankso@913 2
pankso@913 3 PACKAGE="mplayer"
slaxemulator@6232 4 VERSION="1.0rc3"
pankso@913 5 CATEGORY="multimedia"
pankso@913 6 SHORT_DESC="The Ultimate Movie Player For Linux."
pankso@913 7 MAINTAINER="pankso@slitaz.org"
pascal@2519 8 DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \
slaxemulator@6704 9 lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng audiofile \
slaxemulator@7113 10 libvorbis libogg xvidcore x264 zlib xorg-libXss"
slaxemulator@6704 11 BUILD_DEPENDS="gtk+-dev cdparanoia-III-dev libmad-dev xorg-libXv-dev libtheora-dev alsa-lib-dev ncurses-dev \
slaxemulator@6704 12 lame-dev xorg-libXdamage-dev giflib-dev enca-dev lirc-dev xorg-libXxf86vm-dev esound-dev libmng-dev \
slaxemulator@7113 13 audiofile-dev x264-dev libogg-dev libvorbis-dev xvidcore-dev zlib-dev xorg-xextproto pkg-config"
pankso@913 14 SOURCE="MPlayer"
pankso@913 15 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@913 16 WEB_SITE="http://www.mplayerhq.hu/design7/news.html"
pankso@913 17 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL"
pankso@913 18
pankso@913 19 # Rules to configure and make the package.
pankso@913 20 compile_rules()
pankso@913 21 {
pankso@913 22 cd $src
pankso@913 23 ./configure \
pankso@913 24 --prefix=/usr \
pankso@913 25 --confdir=/etc/mplayer \
pankso@913 26 --libdir=/usr/lib/mplayer \
pankso@913 27 --target=i386-linux \
pankso@4458 28 --language="en de es fr" \
pankso@4458 29 --disable-mmx \
pankso@4458 30 --disable-mmxext \
pankso@4458 31 --disable-3dnow \
pankso@4458 32 --disable-3dnowext \
pankso@4458 33 --disable-sse \
pankso@4458 34 --disable-sse2 \
pankso@4458 35 --disable-ssse3 \
pascal@1652 36 --disable-fastmemcpy \
pascal@1652 37 --disable-gl \
pascal@1652 38 --disable-sdl \
pascal@1652 39 --disable-jack \
pascal@1652 40 --disable-liblzo \
pascal@1652 41 --disable-libdv \
pascal@1652 42 --disable-fribidi \
pascal@4290 43 --disable-ivtv \
pankso@4458 44 --disable-smb \
pankso@4458 45 --disable-ftp \
pankso@4458 46 --disable-openal \
pankso@4458 47 --disable-faac \
pankso@4458 48 --disable-speex \
pascal@1652 49 --enable-gui &&
pascal@5781 50 make -j 4 &&
pankso@913 51 make DESTDIR=$PWD/_pkg install
pankso@913 52 }
pankso@913 53
pankso@913 54 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@913 55 genpkg_rules()
pankso@913 56 {
pankso@913 57 mkdir -p $fs/usr/share
pankso@913 58 cp -a $_pkg/usr/bin $fs/usr
pankso@913 59 # Mencoder goes in a splited package.
pankso@913 60 rm $fs/usr/bin/mencoder
pankso@913 61 cp -a $_pkg/usr/share/mplayer $fs/usr/share
pankso@913 62 cp -a $_pkg/etc $fs
pankso@913 63 cp $src/etc/example.conf $fs/etc/mplayer
pankso@1076 64 # Confi to use Xv by default.
pankso@1076 65 cp stuff/mplayer.conf $fs/etc/mplayer
pankso@913 66 # default skin
pankso@913 67 tar xjf stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins
pankso@978 68 cd $fs/usr/share/mplayer/skins && ln -s productive default
pankso@913 69 # Font
pankso@913 70 cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
pankso@913 71 }