wok-6.x view xine-lib/receipt @ rev 14836

xfce4-session: remove wrong trigger (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 15:55:02 2013 +0200 (2013-07-17)
parents d05e40770902
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine video library."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="faad2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.xine-project.org/"
11 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
12 SUGGESTED="xine-fonts"
14 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
15 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg"
16 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
17 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
18 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's/grep -x/grep/' configure
25 #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
26 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
27 # src/input/vcd/libcdio/_cdio_linux.c
28 #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --with-freetype \
34 --with-xcb \
35 --without-jack \
36 --without-imagemagick \
37 --without-sdl \
38 --disable-gnomevfs \
39 --disable-samba \
40 --disable-glu \
41 --disable-opengl \
42 --disable-fb \
43 --disable-syncfb \
44 --without-esound \
45 --disable-vcd \
46 --disable-musepack \
47 $CONFIGURE_ARGS &&
48 make && make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib $fs/usr/share
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $install/usr/lib/xine $fs/usr/lib
57 }