wok view xine-lib/receipt @ rev 5961

ewl: fix depends
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Aug 05 22:58:12 2010 +0200 (2010-08-05)
parents 666fd56c3a0e
children 1400c81c35e4
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 sed -i 's/grep -x/grep/' configure
28 grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
29 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
30 src/input/vcd/libcdio/_cdio_linux.c
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-freetype \
36 --without-jack \
37 --without-imagemagick \
38 --without-sdl \
39 --disable-gnomevfs \
40 --disable-samba \
41 --disable-glu \
42 --disable-opengl \
43 --disable-faad \
44 --disable-fb \
45 --disable-syncfb \
46 --without-esound \
47 $CONFIGURE_ARGS &&
48 make -j 4 &&
49 make DESTDIR=$PWD/_pkg install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib $fs/usr/share
56 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
57 cp -a $_pkg/usr/lib/xine $fs/usr/lib
59 # Do we need extra Fonts for subtitle support? \
60 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
61 # should we just ln DejavuSans as in mplayer?
62 # lets keep sans font for extra support
63 mkdir -p $fs/usr/share/xine/libxine1/fonts/
64 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
65 }