wok-next view alsaplayer/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.82.postgit20180627"
5 COMMIT="ece53f6"
6 CATEGORY="multimedia"
7 SHORT_DESC="ALSA GTK+ PCM audio player"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://alsaplayer.sourceforge.net/" # http://www.alsaplayer.org/
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/alsaplayer/alsaplayer/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="intltool automake libtool libmad-dev libid3tag-dev flac-dev \
16 libmikmod-dev libogg-dev libvorbis-dev mesa-dev glib-dev gtk2-dev pango-dev \
17 libsndfile-dev alsa-lib-dev "
18 SPLIT="alsaplayer-scopes-gl alsaplayer-scopes alsaplayer-mod alsaplayer \
19 alsaplayer-dev"
21 compile_rules() {
22 # substitute large pixmap (165 KB) with small one
23 i="$src/interface/gtk2/pixmaps"
24 mv $i/logo.xpm $i/logo.orig.xpm
25 cp -f $i/note.xpm $i/logo.xpm
26 sed -i 's/note/logo/' $i/logo.xpm
28 ./autogen.sh &&
30 ./configure \
31 --enable-systray \
32 --disable-jack \
33 --disable-esd \
34 --disable-sparc \
35 --disable-oss \
36 --disable-sgi \
37 $SET_ARGS \
38 $CONFIGURE_ARGS &&
39 fix libtool &&
40 make &&
41 make install || return 1
43 install -Dm644 $stuff/alsaplayer16.png $install/usr/share/icons/hicolor/16x16/apps/alsaplayer.png
44 install -Dm644 $stuff/alsaplayer48.png $install/usr/share/icons/hicolor/48x48/apps/alsaplayer.png
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 alsaplayer-scopes-gl)
50 copy liboglspectrum.so
51 CAT="multimedia|GL visualisation"
52 DEPENDS="mesa alsaplayer"
53 ;;
54 alsaplayer-scopes)
55 copy scopes2/*.so @rm
56 CAT="multimedia|visualisations"
57 DEPENDS="glib gtk2 alsaplayer"
58 ;;
59 alsaplayer-mod)
60 copy libmod.so
61 CAT="multimedia|play tracker music"
62 DEPENDS="libmikmod alsaplayer"
63 ;;
64 alsaplayer)
65 copy @std @rm
66 DEPENDS="alsa-lib flac gdk-pixbuf glib gtk2 libmad libsndfile \
67 libvorbis pango"
68 TAGS="music audio player MP3 Ogg FLAC"
69 SUGGESTED="alsaplayer-scopes libid3tag"
70 ;;
71 *-dev)
72 copy @dev
73 ;;
74 esac
75 }