wok annotate xine-lib/receipt @ rev 4607

Add fswebcam (tiny webcam viewer)
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:10:42 2009 +0000 (2009-12-15)
parents 2526e2816b91
children 413b0174114a
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 \
pankso@4519 9 libtheora xorg-libXvMC xorg-libXv freetype"
pankso@4519 10 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \
pankso@4461 11 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \
pankso@4461 12 libvorbis-dev libtheora-dev freetype-dev"
pankso@33 13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2976 14 WEB_SITE="http://www.xine-project.org/"
pankso@33 15 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pankso@33 16
pankso@33 17 # Rules to configure and make the package.
pankso@4519 18 #
pankso@4519 19 # Using --with-external-ffmpeg will make package smaller, but it dont seems
pankso@4519 20 # to work properly. Last try with external ffmpeg make xine unable to read avi
pankso@4519 21 # and other video files.
pankso@4519 22 #
pankso@33 23 compile_rules()
pankso@33 24 {
pankso@33 25 cd $src
pankso@499 26 ./configure \
pankso@499 27 --prefix=/usr \
pankso@499 28 --infodir=/usr/share/info \
pankso@499 29 --mandir=/usr/share/man \
pankso@4461 30 --with-freetype \
pankso@4461 31 --without-jack \
pankso@4461 32 --without-imagemagick \
pankso@4461 33 --without-sdl \
pankso@4461 34 --disable-gnomevfs \
pankso@4461 35 --disable-samba \
pascal@1511 36 $CONFIGURE_ARGS &&
pascal@1511 37 make &&
pankso@33 38 make DESTDIR=$PWD/_pkg install
pankso@33 39 }
pankso@33 40
pankso@33 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 42 genpkg_rules()
pankso@33 43 {
pankso@3163 44 mkdir -p $fs/usr/lib $fs/usr/share
pankso@33 45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@33 46 cp -a $_pkg/usr/lib/xine $fs/usr/lib
pankso@4461 47
jozee@2976 48 # Do we need extra Fonts for subtitle support? \
pankso@4519 49 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
pankso@4519 50 # should we just ln DejavuSans as in mplayer?
jozee@2976 51 # lets keep sans font for extra support
jozee@2976 52 mkdir -p $fs/usr/share/xine/libxine1/fonts/
jozee@2976 53 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
pankso@33 54 }