wok view xine-lib/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents 73641efed1cc
children 4a2f9814b85c
line source
1 # SliTaz package receipt.
3 PACKAGE="xine-lib"
4 VERSION="1.2.1"
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 }