wok-4.x view xine-lib/receipt @ rev 3106

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