wok annotate xine-lib/receipt @ rev 14067

evilvte: up 0.5.2~pre1
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 20 16:29:07 2013 +0000 (2013-02-20)
parents d05e40770902
children 408c87fa22ca
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"
gokhlayeh@6075 8 SUGGESTED="faad2"
pankso@12525 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@2976 10 WEB_SITE="http://www.xine-project.org/"
pankso@12525 11 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
pankso@12525 12 SUGGESTED="xine-fonts"
pankso@33 13
pankso@12525 14 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \
pankso@12525 15 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg"
pankso@10396 16 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
pankso@12525 17 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
pankso@12525 18 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev"
pankso@10396 19
pankso@33 20 # Rules to configure and make the package.
pankso@33 21 compile_rules()
pankso@33 22 {
pankso@33 23 cd $src
pascal@5162 24 sed -i 's/grep -x/grep/' configure
pankso@12525 25 #grep -qs 'define u8' src/input/vcd/libcdio/_cdio_linux.c ||
pankso@12525 26 #sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pankso@12525 27 # src/input/vcd/libcdio/_cdio_linux.c
pankso@12525 28 #patch -p0 < $stuff/xine-lib-1.1.19-xvmc.patch
pankso@499 29 ./configure \
pankso@499 30 --prefix=/usr \
pankso@499 31 --infodir=/usr/share/info \
pankso@499 32 --mandir=/usr/share/man \
pankso@4461 33 --with-freetype \
pankso@12525 34 --with-xcb \
jozee@5020 35 --without-jack \
jozee@5020 36 --without-imagemagick \
jozee@5020 37 --without-sdl \
jozee@5020 38 --disable-gnomevfs \
jozee@5020 39 --disable-samba \
jozee@5020 40 --disable-glu \
jozee@5020 41 --disable-opengl \
jozee@5020 42 --disable-fb \
jozee@5020 43 --disable-syncfb \
pankso@10397 44 --without-esound \
pankso@10397 45 --disable-vcd \
pankso@12525 46 --disable-musepack \
pascal@1511 47 $CONFIGURE_ARGS &&
pankso@12525 48 make && make install
pankso@33 49 }
pankso@33 50
pankso@33 51 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 52 genpkg_rules()
pankso@33 53 {
pankso@3163 54 mkdir -p $fs/usr/lib $fs/usr/share
pankso@12525 55 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12525 56 cp -a $install/usr/lib/xine $fs/usr/lib
pankso@33 57 }