wok annotate 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 |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
pascal@13625 | 4 VERSION="1.2.2" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@33 | 6 SHORT_DESC="Xine video library." |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
gokhlayeh@6075 | 9 SUGGESTED="faad2" |
pankso@12525 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
jozee@2976 | 11 WEB_SITE="http://www.xine-project.org/" |
pankso@12525 | 12 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL" |
pankso@12525 | 13 SUGGESTED="xine-fonts" |
pankso@33 | 14 |
pankso@12525 | 15 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ |
pankso@12525 | 16 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg" |
pankso@10396 | 17 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \ |
pankso@12525 | 18 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ |
pankso@12525 | 19 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev" |
pankso@10396 | 20 |
pankso@33 | 21 # Rules to configure and make the package. |
pankso@33 | 22 compile_rules() |
pankso@33 | 23 { |
pankso@33 | 24 cd $src |
pascal@5162 | 25 sed -i 's/grep -x/grep/' configure |
pankso@12525 | 26 #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c || |
pankso@12525 | 27 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pankso@12525 | 28 # src/input/vcd/libcdio/_cdio_linux.c |
pankso@12525 | 29 #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch |
pankso@499 | 30 ./configure \ |
pankso@499 | 31 --prefix=/usr \ |
pankso@499 | 32 --infodir=/usr/share/info \ |
pankso@499 | 33 --mandir=/usr/share/man \ |
pankso@4461 | 34 --with-freetype \ |
pankso@12525 | 35 --with-xcb \ |
jozee@5020 | 36 --without-jack \ |
jozee@5020 | 37 --without-imagemagick \ |
jozee@5020 | 38 --without-sdl \ |
jozee@5020 | 39 --disable-gnomevfs \ |
jozee@5020 | 40 --disable-samba \ |
jozee@5020 | 41 --disable-glu \ |
jozee@5020 | 42 --disable-opengl \ |
jozee@5020 | 43 --disable-fb \ |
jozee@5020 | 44 --disable-syncfb \ |
pankso@10397 | 45 --without-esound \ |
pankso@10397 | 46 --disable-vcd \ |
pankso@12525 | 47 --disable-musepack \ |
pascal@1511 | 48 $CONFIGURE_ARGS && |
pankso@12525 | 49 make && make install |
pankso@33 | 50 } |
pankso@33 | 51 |
pankso@33 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 53 genpkg_rules() |
pankso@33 | 54 { |
pankso@3163 | 55 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12525 | 56 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12525 | 57 cp -a $install/usr/lib/xine $fs/usr/lib |
pankso@33 | 58 } |