wok-6.x annotate libplayer/receipt @ rev 22884

updated gsettings-desktop-schemas again (3.28.1 -> 3.34.0)
author Hans-G?nter Theisgen
date Sat Feb 22 16:44:15 2020 +0100 (2020-02-22)
parents 68f00cd672fd
children ede1d184d5c5
rev   line source
pankso@4765 1 # SliTaz package receipt.
pankso@4765 2
pankso@4765 3 PACKAGE="libplayer"
gokhlayeh@9228 4 VERSION="2.0.1"
jozee@4783 5 CATEGORY="multimedia"
pankso@4765 6 SHORT_DESC="A multimedia A/V abstraction layer API."
pankso@4765 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
pankso@4765 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@22668 10 WEB_SITE="https://libplayer.geexbox.org/"
pascal@22668 11 WGET_URL="https://libplayer.geexbox.org/releases/$TARBALL"
pankso@16168 12 HOST_ARCH="i486 arm"
pankso@16168 13
pankso@16168 14 DEPENDS="xine-lib"
pankso@16168 15 BUILD_DEPENDS="xine-lib-dev"
pankso@16168 16
pankso@16168 17 # Handle cross compilation
pankso@16168 18 case "$ARCH" in
pankso@16168 19 arm*) ARCH_ARGS="--cross-compile" ;;
pankso@16168 20 esac
pankso@4765 21
pankso@4765 22 # Rules to configure and make the package.
pankso@4765 23 compile_rules()
pankso@4765 24 {
pascal@5162 25 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
pankso@16168 26 ./configure \
pankso@16168 27 --prefix=/usr\
pankso@4765 28 --enable-mplayer \
pankso@4765 29 --disable-gstreamer \
pankso@16168 30 --disable-vlc ${ARCH_ARGS} &&
gokhlayeh@9228 31 make && make install
pankso@4765 32 }
pankso@4765 33
pankso@4765 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4765 35 genpkg_rules()
pankso@4765 36 {
pankso@4765 37 mkdir -p $fs/usr/lib
pascal@15482 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15482 39 cp -a $install/usr/bin $fs/usr
pankso@4765 40 }