wok diff alsaplayer/receipt @ rev 17464
Up mercurial (3.2.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 15:02:01 2014 +0100 (2014-12-22) |
parents | 2b9f96603415 |
children | a2f7f8eaeaa3 |
line diff
1.1 --- a/alsaplayer/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/alsaplayer/receipt Mon Dec 22 15:02:01 2014 +0100 1.3 @@ -3,27 +3,28 @@ 1.4 PACKAGE="alsaplayer" 1.5 VERSION="0.99.81" 1.6 CATEGORY="multimedia" 1.7 -SHORT_DESC="Alsa GTK+ PCM player." 1.8 +SHORT_DESC="Alsa GTK+ PCM audio player." 1.9 MAINTAINER="pankso@slitaz.org" 1.10 LICENSE="GPL3" 1.11 -SUGGESTED="alsaplayer-scopes libid3tag flac" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.alsaplayer.org/" 1.14 WGET_URL="http://www.alsaplayer.org/$TARBALL" 1.15 TAGS="music audio player mp3 ogg flac" 1.16 +HOST_ARCH="i486 arm" 1.17 1.18 +SUGGESTED="alsaplayer-scopes libid3tag flac" 1.19 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" 1.20 -BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev" 1.21 +BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" 1.22 + 1.23 +# Handle cross compilation. 1.24 +case "$ARCH" in 1.25 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; 1.26 +esac 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cd $src 1.32 ./configure \ 1.33 - --enable-nls \ 1.34 - --prefix=/usr \ 1.35 - --infodir=/usr/share/info \ 1.36 - --mandir=/usr/share/man \ 1.37 --enable-gtk2 \ 1.38 --enable-flac \ 1.39 --disable-jack \