wok view xine-lib/receipt @ rev 2976

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