wok-stable annotate xine-lib/receipt @ rev 2976

Up: Xine-lib/xine-lib-dev; compiled against shared ffmpeg; lower size
author Rohit Joshi <jozee@slitaz.org>
date Sun May 10 14:32:51 2009 +0000 (2009-05-10)
parents ef0c5b97a33e
children bf290059c433
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"
jozee@2976 8 DEPENDS="xorg zlib xorg-libXv xorg-libXvMC ffmpeg"
jozee@2976 9 BUILD_DEPENDS="xorg-dev zlib-dev ffmpeg-dev ffmpeg xorg-libXvMC-dev xorg-libXvMC xorg-libXv xorg-libXv-dev libtheora"
pankso@33 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2976 11 WEB_SITE="http://www.xine-project.org/"
pankso@33 12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pankso@33 13
pankso@33 14 # Rules to configure and make the package.
pankso@33 15 compile_rules()
pankso@33 16 {
pankso@33 17 cd $src
pankso@499 18 ./configure \
pankso@499 19 --prefix=/usr \
pankso@499 20 --infodir=/usr/share/info \
pankso@499 21 --mandir=/usr/share/man \
jozee@2976 22 --with-external-ffmpeg \
jozee@2976 23 --disable-gnome-vfs \
jozee@2976 24 --with-freetype \
pascal@1511 25 $CONFIGURE_ARGS &&
pascal@1511 26 make &&
pankso@33 27 make DESTDIR=$PWD/_pkg install
pankso@33 28 }
pankso@33 29
pankso@33 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 31 genpkg_rules()
pankso@33 32 {
pankso@33 33 mkdir -p $fs/usr/lib $fs/usr/share/locale
pankso@33 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@33 35 cp -a $_pkg/usr/lib/xine $fs/usr/lib
pankso@33 36
jozee@2976 37 # Do we need extra Fonts for subtitle support? \
jozee@2976 38 compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
jozee@2976 39 should we just ln DejavuSans as in mplayer?
jozee@2976 40 # lets keep sans font for extra support
jozee@2976 41 mkdir -p $fs/usr/share/xine/libxine1/fonts/
jozee@2976 42 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
jozee@2976 43
pankso@33 44 }
pankso@33 45