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

xine-lib,xine-plugin: Remove dep on libiconv (use iconv() from glibc)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 25 00:16:39 2009 +0200 (2009-05-25)
parents bf290059c433
children e8024c01fc47
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@3163 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 }