wok-next view libmatemixer/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 58744412e5b2 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmatemixer"
4 VERSION="1.18.0"
5 CATEGORY="sound"
6 SHORT_DESC="Mixer library for MATE Desktop"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/mate-desktop/libmatemixer"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mate-desktop/libmatemixer/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="mate-common gtk-doc pulseaudio-dev alsa-lib-dev"
15 SPLIT="libmatemixer-pulse libmatemixer libmatemixer-dev"
17 compile_rules() {
18 ./autogen.sh \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libmatemixer-pulse)
29 copy libmatemixer-pulse.so
30 DEPENDS="libmatemixer dbus flac gdbm glib libcap libffi libogg \
31 libsndfile libvorbis pcre pulseaudio pulseaudio-glib \
32 util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
33 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst xorg-libxcb"
34 CAT="sound|PulseAudio module"
35 ;;
36 libmatemixer)
37 copy @std @rm
38 DEPENDS="alsa-lib glib libffi pcre"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="${SPLIT/$PACKAGE/} alsa-lib-dev dbus-dev flac-dev \
43 gdbm-dev glib-dev libcap-dev libffi-dev libogg-dev libsndfile-dev \
44 libvorbis-dev pcre-dev pulseaudio-dev util-linux-uuid-dev \
45 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
46 xorg-libxcb-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev \
47 xorg-libXtst-dev"
48 ;;
49 esac
50 TAGS="MATE"
51 }