wok view xine-lib/receipt @ rev 6340
Up: exiftool 8.31
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Sun Sep 19 13:48:53 2010 +0200 (2010-09-19) |
parents | 1400c81c35e4 |
children | de3b10b53363 |
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 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --with-freetype \
37 --without-jack \
38 --without-imagemagick \
39 --without-sdl \
40 --disable-gnomevfs \
41 --disable-samba \
42 --disable-glu \
43 --disable-opengl \
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 }