wok-next annotate xine-lib/receipt @ rev 20666
Up freeglut (3.0.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 03:09:34 2018 +0300 (2018-05-11) |
parents | d43bf7aae921 |
children | f99935f1778a |
rev | line source |
---|---|
pascal@19943 | 1 # SliTaz package receipt v2. |
pankso@33 | 2 |
pankso@33 | 3 PACKAGE="xine-lib" |
pascal@19943 | 4 VERSION="1.2.8" |
pankso@206 | 5 CATEGORY="multimedia" |
al@20475 | 6 SHORT_DESC="Xine video library" |
pankso@33 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@20475 | 9 WEB_SITE="http://www.xine-project.org/" |
al@20475 | 10 |
pankso@12525 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12525 | 12 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL" |
pankso@33 | 13 |
pankso@10396 | 14 BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \ |
pankso@12525 | 15 alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \ |
al@20513 | 16 util-linux-uuid-dev xorg-libxcb-dev libcaca-dev ffmpeg-dev file \ |
pascal@20374 | 17 libmodplug-dev xorg-libXinerama-dev speex-dev gettext-tools" |
al@20475 | 18 SPLIT="xine-fonts xine-lib xine-lib-dev" |
pankso@16084 | 19 |
al@20475 | 20 compile_rules() { |
al@20475 | 21 case "$ARCH" in |
al@20475 | 22 arm*) |
al@20475 | 23 export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" |
al@20475 | 24 export LIBTOOL=${HOST_SYSTEM}-libtool |
al@20475 | 25 ARCH_ARGS="--disable-xinerama" ;; |
al@20475 | 26 esac |
pankso@10396 | 27 |
pascal@5162 | 28 sed -i 's/grep -x/grep/' configure |
pascal@17670 | 29 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \ |
pankso@499 | 30 ./configure \ |
pankso@4461 | 31 --with-freetype \ |
pankso@12525 | 32 --with-xcb \ |
jozee@5020 | 33 --without-jack \ |
jozee@5020 | 34 --without-imagemagick \ |
jozee@5020 | 35 --without-sdl \ |
jozee@5020 | 36 --disable-gnomevfs \ |
jozee@5020 | 37 --disable-samba \ |
jozee@5020 | 38 --disable-glu \ |
jozee@5020 | 39 --disable-opengl \ |
jozee@5020 | 40 --disable-fb \ |
pankso@10397 | 41 --without-esound \ |
pankso@10397 | 42 --disable-vcd \ |
pankso@12525 | 43 --disable-musepack \ |
pankso@16084 | 44 $CONFIGURE_ARGS $ARCH_ARGS && |
al@20604 | 45 fix libtool && |
pankso@12525 | 46 make && make install |
pankso@33 | 47 } |
pankso@33 | 48 |
al@20475 | 49 genpkg_rules() { |
pascal@19943 | 50 case "$PACKAGE" in |
al@20475 | 51 xine-fonts) |
al@20475 | 52 copy *.xinefont.gz |
al@20475 | 53 CAT="x-window|extra fonts for Xine video player" |
al@20475 | 54 DEPENDS="xine-ui" |
al@20475 | 55 ;; |
al@20475 | 56 xine-lib) |
al@20475 | 57 copy @std @rm |
al@20475 | 58 DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \ |
pascal@19943 | 59 libogg libvorbis libtheora xorg-libXvMC xorg-libXv \ |
al@20447 | 60 xorg-libxcb ffmpeg libmodplug" |
al@20475 | 61 SUGGESTED="xine-fonts faad2" |
al@20475 | 62 ;; |
al@20475 | 63 xine-lib-dev) |
al@20475 | 64 copy @dev |
al@20475 | 65 ;; |
pascal@19943 | 66 esac |
pankso@33 | 67 } |