wok annotate xine-lib/receipt @ rev 5008

[x-z]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 18:16:33 2010 +0100 (2010-02-28)
parents 173ef2a8064d
children de5d8ec1d324
rev   line source
pankso@33 1 # SliTaz package receipt.
pankso@33 2
pankso@33 3 PACKAGE="xine-lib"
jozee@2976 4 VERSION="1.1.16.3"
pankso@206 5 CATEGORY="multimedia"
pankso@33 6 SHORT_DESC="Xine video library."
pankso@33 7 MAINTAINER="pankso@slitaz.org"
pankso@4461 8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
pascal@5008 9 libtheora xorg-libXvMC xorg-libXv freetype faad2 vcdimager-xmltools nvidia \
pascal@5008 10 libglu libmodplug gtk+ esound"
pankso@4519 11 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \
pankso@4461 12 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \
pankso@4461 13 libvorbis-dev libtheora-dev freetype-dev"
pankso@33 14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2976 15 WEB_SITE="http://www.xine-project.org/"
pankso@33 16 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pankso@33 17
pankso@33 18 # Rules to configure and make the package.
pankso@4519 19 #
pankso@4519 20 # Using --with-external-ffmpeg will make package smaller, but it dont seems
pankso@4519 21 # to work properly. Last try with external ffmpeg make xine unable to read avi
pankso@4519 22 # and other video files.
pankso@4519 23 #
pankso@33 24 compile_rules()
pankso@33 25 {
pankso@33 26 cd $src
pankso@499 27 ./configure \
pankso@499 28 --prefix=/usr \
pankso@499 29 --infodir=/usr/share/info \
pankso@499 30 --mandir=/usr/share/man \
pankso@4461 31 --with-freetype \
pankso@4461 32 --without-jack \
pankso@4461 33 --without-imagemagick \
pankso@4461 34 --without-sdl \
pankso@4461 35 --disable-gnomevfs \
pankso@4461 36 --disable-samba \
pascal@1511 37 $CONFIGURE_ARGS &&
pascal@1511 38 make &&
pankso@33 39 make DESTDIR=$PWD/_pkg install
pankso@33 40 }
pankso@33 41
pankso@33 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 43 genpkg_rules()
pankso@33 44 {
pankso@3163 45 mkdir -p $fs/usr/lib $fs/usr/share
pankso@33 46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@33 47 cp -a $_pkg/usr/lib/xine $fs/usr/lib
pankso@4461 48
jozee@2976 49 # Do we need extra Fonts for subtitle support? \
pankso@4519 50 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
pankso@4519 51 # should we just ln DejavuSans as in mplayer?
jozee@2976 52 # lets keep sans font for extra support
jozee@2976 53 mkdir -p $fs/usr/share/xine/libxine1/fonts/
jozee@2976 54 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
pankso@33 55 }