wok-current annotate xine-lib/receipt @ rev 4440

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