wok view xine-lib/receipt @ rev 15146
cocoalib: create Makefile_dependencies (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:56:59 2013 +0000 (2013-08-15) |
parents | 4a2f9814b85c |
children | fd22b033a84a |
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 LICENSE="GPL2"
9 SUGGESTED="faad2"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WEB_SITE="http://www.xine-project.org/"
12 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
13 SUGGESTED="xine-fonts"
15 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
16 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg"
17 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
18 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
19 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 sed -i 's/grep -x/grep/' configure
26 #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
27 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
28 # src/input/vcd/libcdio/_cdio_linux.c
29 #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --with-freetype \
35 --with-xcb \
36 --without-jack \
37 --without-imagemagick \
38 --without-sdl \
39 --disable-gnomevfs \
40 --disable-samba \
41 --disable-glu \
42 --disable-opengl \
43 --disable-fb \
44 --disable-syncfb \
45 --without-esound \
46 --disable-vcd \
47 --disable-musepack \
48 $CONFIGURE_ARGS &&
49 make && make 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 $install/usr/lib/*.so* $fs/usr/lib
57 cp -a $install/usr/lib/xine $fs/usr/lib
58 }