wok-next view libmatemixer/receipt @ rev 20732
Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 17:01:41 2018 +0300 (2018-05-29) |
parents | 65c0fe17f3b9 |
children | 342b30daff76 |
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 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libmatemixer-pulse)
28 copy libmatemixer-pulse.so
29 DEPENDS="libmatemixer dbus flac gdbm glib libcap libffi libogg \
30 libsndfile libvorbis pcre pulseaudio pulseaudio-glib \
31 util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
32 xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst xorg-libxcb"
33 CAT="sound|PulseAudio module"
34 ;;
35 libmatemixer)
36 copy @std @rm
37 DEPENDS="alsa-lib glib libffi pcre"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="${SPLIT/$PACKAGE/} alsa-lib-dev dbus-dev flac-dev \
42 gdbm-dev glib-dev libcap-dev libffi-dev libogg-dev libsndfile-dev \
43 libvorbis-dev pcre-dev pulseaudio-dev util-linux-uuid-dev \
44 xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \
45 xorg-libxcb-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev \
46 xorg-libXtst-dev"
47 ;;
48 esac
49 TAGS="MATE"
50 }