wok-6.x view xine-lib/receipt @ rev 10184
Up: yajl to 2.0.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 22:41:43 2011 +0000 (2011-05-20) |
parents | de3b10b53363 |
children | 99abf916fd05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.1.19"
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 faad2 faad2-dev perl pkg-config util-linux-ng-uuid-dev libxcb-dev"
14 SUGGESTED="faad2"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.xine-project.org/"
17 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
19 # Rules to configure and make the package.
20 #
21 # Using --with-external-ffmpeg will make package smaller, but it dont seems
22 # to work properly. Last try with external ffmpeg make xine unable to read avi
23 # and other video files.
24 #
25 compile_rules()
26 {
27 cd $src
28 sed -i 's/grep -x/grep/' configure
29 grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
30 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
31 src/input/vcd/libcdio/_cdio_linux.c
32 patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch
33 ./configure \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 --with-freetype \
38 --without-jack \
39 --without-imagemagick \
40 --without-sdl \
41 --disable-gnomevfs \
42 --disable-samba \
43 --disable-glu \
44 --disable-opengl \
45 --disable-fb \
46 --disable-syncfb \
47 --without-esound \
48 $CONFIGURE_ARGS &&
49 make -j 4 &&
50 make DESTDIR=$PWD/_pkg install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib $fs/usr/share
57 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
58 cp -a $_pkg/usr/lib/xine $fs/usr/lib
60 # Do we need extra Fonts for subtitle support? \
61 # compiled with freetype for using ttf fonts, xine fonts are only an alternative solution \
62 # should we just ln DejavuSans as in mplayer?
63 # lets keep sans font for extra support
64 mkdir -p $fs/usr/share/xine/libxine1/fonts/
65 cp -a $_pkg/usr/share/xine/libxine1/fonts/sa* $fs/usr/share/xine/libxine1/fonts/
66 }