wok annotate xine-lib/receipt @ rev 23767

updated firefox-official packages (75.0 -> 76.0)
author Hans-G?nter Theisgen
date Sat May 09 11:07:16 2020 +0100 (2020-05-09)
parents 53d149487e08
children 31ba14fadb9a
rev   line source
pankso@33 1 # SliTaz package receipt.
pankso@33 2
pankso@33 3 PACKAGE="xine-lib"
Hans-G?nter@23751 4 VERSION="1.2.10"
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"
Hans-G?nter@23751 9 WEB_SITE="http://www.xine-project.org/"
Hans-G?nter@23751 10
pankso@12525 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@12525 12 WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
Hans-G?nter@23751 13
Hans-G?nter@23751 14 SUGGESTED="faad xine-fonts"
Hans-G?nter@23751 15 DEPENDS="alsa-lib ffmpeg libmodplug libogg libtheora libvorbis libxcb xorg-libX11
Hans-G?nter@23751 16 xorg-libXv xorg-libXvMC zlib"
Hans-G?nter@23753 17 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev file freetype-dev gcc83 libmodplug-dev libogg-dev
Hans-G?nter@23751 18 libtheora-dev libvorbis-dev libxcb-dev perl pkg-config util-linux-uuid-dev
Hans-G?nter@23751 19 xorg-libXv-dev xorg-libXvMC-dev xorg-videoproto xorg-xextproto"
Hans-G?nter@23751 20
pankso@16161 21 HOST_ARCH="i486 arm"
pankso@33 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
Hans-G?nter@23752 35 export LDFLAGS="$LDFLAGS -lstdc++"
Hans-G?nter@23752 36
Hans-G?nter@23751 37 CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \
Hans-G?nter@23751 38 ./configure \
Hans-G?nter@23751 39 --prefix=/usr \
Hans-G?nter@23751 40 --infodir=/usr/share/info \
Hans-G?nter@23751 41 --mandir=/usr/share/man \
Hans-G?nter@23751 42 --with-freetype \
Hans-G?nter@23751 43 --with-xcb \
Hans-G?nter@23751 44 --without-jack \
Hans-G?nter@23751 45 --without-imagemagick \
Hans-G?nter@23751 46 --without-sdl \
Hans-G?nter@23751 47 --disable-gnomevfs \
Hans-G?nter@23751 48 --disable-samba \
Hans-G?nter@23751 49 --disable-glu \
Hans-G?nter@23751 50 --disable-opengl \
Hans-G?nter@23751 51 --disable-fb \
Hans-G?nter@23751 52 --without-esound \
Hans-G?nter@23751 53 --disable-vcd \
Hans-G?nter@23751 54 --disable-musepack \
Hans-G?nter@23751 55 $CONFIGURE_ARGS \
Hans-G?nter@23751 56 $ARCH_ARGS &&
Hans-G?nter@23751 57 make &&
Hans-G?nter@23751 58 make install
pankso@33 59 }
pankso@33 60
pankso@33 61 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@33 62 genpkg_rules()
pankso@33 63 {
Hans-G?nter@23751 64 mkdir -p $fs/usr/lib
Hans-G?nter@23751 65 mkdir -p $fs/usr/share
Hans-G?nter@23751 66
Hans-G?nter@23751 67 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23751 68 cp -a $install/usr/lib/xine $fs/usr/lib
pankso@33 69 }