wok-next view alsaplayer/receipt @ rev 20115

stellarium: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 11:43:10 2017 +0100 (2017-10-30)
parents 7387df590f12
children c4e53a39395a
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
16 BUILD_DEPENDS_arm="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
17 SPLIT="alsaplayer-scopes alsaplayer-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 i="$src/interface/gtk2/pixmaps"
23 cp -f $i/note.xpm $i/logo.xpm
24 sed -i 's/note/logo/' $i/logo.xpm
26 ./configure \
27 --enable-gtk2 \
28 --enable-flac \
29 --disable-jack \
30 --disable-esd \
31 $CONFIGURE_ARGS &&
32 make &&
33 # Chmod install-sh to avoid install error.
34 chmod 755 install-sh &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 case $PACKAGE in
42 alsaplayer)
43 copy @std
44 # Remove scopes
45 rm -rf $fs/usr/lib/alsaplayer/scopes2
46 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
47 TAGS="music audio player mp3 ogg flac"
48 SUGGESTED="alsaplayer-scopes libid3tag flac"
49 ;;
50 alsaplayer-scopes)
51 copy scopes2/*.so
52 CAT="multimedia|visualisations"
53 DEPENDS="alsaplayer"
54 ;;
55 *-dev) copy @dev;;
56 esac
57 }