wok annotate xine-lib/receipt @ rev 18260
Up slitaz-tools(949): fix tazbox manage_i18n
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 05 02:38:24 2015 +0300 (2015-08-05) |
parents | e0d46e46833e |
children | b1b5c2c950b5 |
rev | line source |
---|---|
pankso@33 | 1 # SliTaz package receipt. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
pascal@16091 | 4 VERSION="1.2.4" |
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" |
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@16161 | 13 HOST_ARCH="i486 arm" |
pankso@33 | 14 |
pankso@16084 | 15 SUGGESTED="faad2" |
pankso@12525 | 16 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib libogg libvorbis \ |
pankso@16084 | 17 libtheora xorg-libXvMC xorg-libXv libxcb ffmpeg libmodplug" |
pankso@10396 | 18 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \ |
pankso@12525 | 19 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ |
pankso@16084 | 20 pkg-config util-linux-uuid-dev libxcb-dev libxcb-dev ffmpeg-dev file \ |
pankso@16084 | 21 libmodplug-dev" |
pankso@16084 | 22 |
pankso@16084 | 23 # Handle cross compilation |
pankso@16084 | 24 case "$ARCH" in |
pankso@16084 | 25 arm*) |
pascal@17670 | 26 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
pankso@16084 | 27 export LIBTOOL=${HOST_SYSTEM}-libtool |
pankso@16084 | 28 ARCH_ARGS="--disable-xinerama" ;; |
pankso@16084 | 29 esac |
pankso@10396 | 30 |
pankso@33 | 31 # Rules to configure and make the package. |
pankso@33 | 32 compile_rules() |
pankso@33 | 33 { |
pascal@5162 | 34 sed -i 's/grep -x/grep/' configure |
pascal@17670 | 35 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \ |
pankso@499 | 36 ./configure \ |
pankso@499 | 37 --prefix=/usr \ |
pankso@499 | 38 --infodir=/usr/share/info \ |
pankso@499 | 39 --mandir=/usr/share/man \ |
pankso@4461 | 40 --with-freetype \ |
pankso@12525 | 41 --with-xcb \ |
jozee@5020 | 42 --without-jack \ |
jozee@5020 | 43 --without-imagemagick \ |
jozee@5020 | 44 --without-sdl \ |
jozee@5020 | 45 --disable-gnomevfs \ |
jozee@5020 | 46 --disable-samba \ |
jozee@5020 | 47 --disable-glu \ |
jozee@5020 | 48 --disable-opengl \ |
jozee@5020 | 49 --disable-fb \ |
pankso@10397 | 50 --without-esound \ |
pankso@10397 | 51 --disable-vcd \ |
pankso@12525 | 52 --disable-musepack \ |
pankso@16084 | 53 $CONFIGURE_ARGS $ARCH_ARGS && |
pankso@12525 | 54 make && make install |
pankso@33 | 55 } |
pankso@33 | 56 |
pankso@33 | 57 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@33 | 58 genpkg_rules() |
pankso@33 | 59 { |
pankso@3163 | 60 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12525 | 61 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12525 | 62 cp -a $install/usr/lib/xine $fs/usr/lib |
pankso@33 | 63 } |