wok-next annotate libmatemixer/receipt @ rev 20938

Update MATE 1.20
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 05:08:11 2018 +0300 (2018-08-26)
parents 342b30daff76
children d5aab818505e
rev   line source
al@20096 1 # SliTaz package receipt v2.
yuripourre@17712 2
yuripourre@17712 3 PACKAGE="libmatemixer"
al@20938 4 VERSION="1.20.1"
al@20096 5 CATEGORY="sound"
al@20096 6 SHORT_DESC="Mixer library for MATE Desktop"
al@20096 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@17712 8 LICENSE="GPL3"
al@20096 9 WEB_SITE="https://github.com/mate-desktop/libmatemixer"
al@20096 10
yuripourre@17712 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20096 12 WGET_URL="https://github.com/mate-desktop/libmatemixer/archive/v$VERSION.tar.gz"
yuripourre@17712 13
al@20096 14 BUILD_DEPENDS="mate-common gtk-doc pulseaudio-dev alsa-lib-dev"
al@20096 15 SPLIT="libmatemixer-pulse libmatemixer libmatemixer-dev"
al@20096 16
al@20096 17 compile_rules() {
al@20096 18 ./autogen.sh \
yuripourre@17712 19 $CONFIGURE_ARGS &&
al@20534 20 fix libtool &&
yuripourre@17712 21 make &&
al@20096 22 make install
yuripourre@17712 23 }
yuripourre@17712 24
al@20096 25 genpkg_rules() {
al@20096 26 case $PACKAGE in
al@20096 27 libmatemixer-pulse)
al@20096 28 copy libmatemixer-pulse.so
al@20749 29 DEPENDS="glib pulseaudio pulseaudio-glib libmatemixer"
al@20096 30 CAT="sound|PulseAudio module"
al@20096 31 ;;
al@20096 32 libmatemixer)
al@20096 33 copy @std @rm
al@20749 34 DEPENDS="alsa-lib glib"
al@20096 35 ;;
al@20096 36 *-dev)
al@20096 37 copy @dev
al@20749 38 DEPENDS="libmatemixer libmatemixer-pulse \
al@20749 39 glib-dev"
al@20096 40 ;;
al@20096 41 esac
al@20096 42 TAGS="MATE"
yuripourre@17712 43 }