wok-next view alsaplayer/receipt @ rev 20772

gnuchess: up (6.2.5)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 19:46:11 2018 +0300 (2018-06-06)
parents c4e53a39395a
children b156aee559a7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="ALSA GTK+ PCM audio player"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://alsaplayer.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
15 BUILD_DEPENDS_arm="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
16 SPLIT="alsaplayer-scopes alsaplayer alsaplayer-dev"
18 compile_rules() {
19 i="$src/interface/gtk2/pixmaps"
20 cp -f $i/note.xpm $i/logo.xpm
21 sed -i 's/note/logo/' $i/logo.xpm
23 ./configure \
24 --enable-gtk2 \
25 --enable-flac \
26 --disable-jack \
27 --disable-esd \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 # Chmod install-sh to avoid install error.
32 chmod 755 install-sh &&
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 alsaplayer-scopes)
39 copy scopes2/*.so
40 CAT="multimedia|visualisations"
41 DEPENDS="alsaplayer"
42 ;;
43 alsaplayer)
44 copy @std @rm
45 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
46 TAGS="music audio player mp3 ogg flac"
47 SUGGESTED="alsaplayer-scopes libid3tag flac"
48 ;;
49 *-dev) copy @dev;;
50 esac
51 }