wok-next view xine-lib/receipt @ rev 4552

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