wok-6.x view xine-lib/receipt @ rev 5150
a2ps, dev86, icedtea6-jdk: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:33:13 2010 +0100 (2010-03-24) |
parents | 2418475c2402 |
children | 252a378d28c1 |
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 vcdimager-xmltools \
10 libmodplug gtk+ ffmpeg libmng"
11 BUILD_DEPENDS="$DEPENDS xorg-dev zlib-dev xorg-libXvMC-dev \
12 xorg-libXv-dev xorg-xextproto xorg-videoproto alsa-lib-dev libogg-dev \
13 libvorbis-dev libtheora-dev freetype-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.xine-project.org/"
16 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
18 # Rules to configure and make the package.
19 #
20 # Using --with-external-ffmpeg will make package smaller, but it dont seems
21 # to work properly. Last try with external ffmpeg make xine unable to read avi
22 # and other video files.
23 #
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --with-freetype \
32 --without-jack \
33 --without-imagemagick \
34 --without-sdl \
35 --disable-gnomevfs \
36 --disable-samba \
37 --disable-glu \
38 --disable-opengl \
39 --disable-faad \
40 --disable-fb \
41 --disable-syncfb \
42 --without-esound \
43 $CONFIGURE_ARGS &&
44 make &&
45 make DESTDIR=$PWD/_pkg install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib $fs/usr/share
52 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
53 cp -a $_pkg/usr/lib/xine $fs/usr/lib
55 # Do we need extra Fonts for subtitle support? \
56 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
57 # should we just ln DejavuSans as in mplayer?
58 # lets keep sans font for extra support
59 mkdir -p $fs/usr/share/xine/libxine1/fonts/
60 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
61 }