wok-4.x view xine-lib/receipt @ rev 4072
syasokoban: cook with gcc 4.4 serie
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 13 02:47:12 2009 +0200 (2009-09-13) |
parents | c95291cb82f3 |
children | 2526e2816b91 |
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 \
9 libgio libogg libvorbis ffmpeg"
10 BUILD_DEPENDS="xorg-dev zlib-dev ffmpeg-dev ffmpeg xorg-libXvMC-dev \
11 xorg-libXvMC xorg-libXv xorg-libXv-dev libtheora"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xine-project.org/"
14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-external-ffmpeg \
25 --disable-gnome-vfs \
26 --with-freetype \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/xine $fs/usr/lib
39 # Do we need extra Fonts for subtitle support? \
40 compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
41 should we just ln DejavuSans as in mplayer?
42 # lets keep sans font for extra support
43 mkdir -p $fs/usr/share/xine/libxine1/fonts/
44 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
45 }