wok-6.x diff libplayer/receipt @ rev 19800
e4rat: add -lcom_err
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 25 09:54:23 2017 +0100 (2017-02-25) |
parents | 8d6f480bf664 |
children | 08c52f1e528e |
line diff
1.1 --- a/libplayer/receipt Sun Nov 10 17:13:06 2013 +0000 1.2 +++ b/libplayer/receipt Sat Feb 25 09:54:23 2017 +0100 1.3 @@ -4,22 +4,30 @@ 1.4 VERSION="2.0.1" 1.5 CATEGORY="multimedia" 1.6 SHORT_DESC="A multimedia A/V abstraction layer API." 1.7 -DEPENDS="xine-lib mplayer" 1.8 MAINTAINER="pankso@slitaz.org" 1.9 LICENSE="LGPL2.1" 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 WEB_SITE="http://libplayer.geexbox.org/" 1.12 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 +DEPENDS="xine-lib" 1.16 +BUILD_DEPENDS="xine-lib-dev" 1.17 + 1.18 +# Handle cross compilation 1.19 +case "$ARCH" in 1.20 + arm*) ARCH_ARGS="--cross-compile" ;; 1.21 +esac 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure 1.28 - ./configure --prefix=/usr\ 1.29 + ./configure \ 1.30 + --prefix=/usr\ 1.31 --enable-mplayer \ 1.32 --disable-gstreamer \ 1.33 - --disable-vlc && 1.34 + --disable-vlc ${ARCH_ARGS} && 1.35 make && make install 1.36 } 1.37