wok-next diff libmatemixer/receipt @ rev 20137
mariadb: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 21:42:04 2017 +0100 (2017-10-31) |
parents | 58744412e5b2 |
children | 757d032c55c7 |
line diff
1.1 --- a/libmatemixer/receipt Sat Oct 21 14:16:43 2017 +0200 1.2 +++ b/libmatemixer/receipt Tue Oct 31 21:42:04 2017 +0100 1.3 @@ -1,36 +1,51 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libmatemixer" 1.8 -VERSION="1.9.2" 1.9 -CATEGORY="utilities" 1.10 +VERSION="1.18.0" 1.11 +CATEGORY="sound" 1.12 +SHORT_DESC="Mixer library for MATE Desktop" 1.13 +MAINTAINER="yuripourre@gmail.com" 1.14 LICENSE="GPL3" 1.15 -SHORT_DESC="Mixer library for MATE Desktop." 1.16 -MAINTAINER="yuripourre@gmail.com" 1.17 +WEB_SITE="https://github.com/mate-desktop/libmatemixer" 1.18 + 1.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 -WEB_SITE="http://www.mate-desktop.org/" 1.21 -WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 1.22 -TAGS="MATE" 1.23 -DEPENDS="alsa-lib pulseaudio" 1.24 -BUILD_DEPENDS="wget alsa-lib-dev pulseaudio-dev gtk+-dev autoconf automake libtool itstool \ 1.25 -mate-common-dev gtk-doc util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \ 1.26 -libvorbis-dev dbus-dev intltool" 1.27 +WGET_URL="https://github.com/mate-desktop/libmatemixer/archive/v$VERSION.tar.gz" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - ./autogen.sh \ 1.33 - --prefix=/usr \ 1.34 - --sysconfdir=/etc \ 1.35 - --localstatedir=/var \ 1.36 - --disable-static \ 1.37 +BUILD_DEPENDS="mate-common gtk-doc pulseaudio-dev alsa-lib-dev" 1.38 +SPLIT="libmatemixer-pulse libmatemixer libmatemixer-dev" 1.39 + 1.40 +compile_rules() { 1.41 + ./autogen.sh \ 1.42 + --sysconfdir=/etc \ 1.43 + --localstatedir=/var \ 1.44 $CONFIGURE_ARGS && 1.45 make && 1.46 - make DESTDIR=$DESTDIR install 1.47 + make install 1.48 } 1.49 1.50 -genpkg_rules() 1.51 -{ 1.52 - mkdir -p $fs/usr/lib $fs/usr/share 1.53 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.54 - cp -a $install/usr/share $fs/usr 1.55 +genpkg_rules() { 1.56 + case $PACKAGE in 1.57 + libmatemixer-pulse) 1.58 + copy libmatemixer-pulse.so 1.59 + DEPENDS="libmatemixer dbus flac gdbm glib libcap libffi libogg \ 1.60 + libsndfile libvorbis pcre pulseaudio pulseaudio-glib \ 1.61 + util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ 1.62 + xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst xorg-libxcb" 1.63 + CAT="sound|PulseAudio module" 1.64 + ;; 1.65 + libmatemixer) 1.66 + copy @std @rm 1.67 + DEPENDS="alsa-lib glib libffi pcre" 1.68 + ;; 1.69 + *-dev) 1.70 + copy @dev 1.71 + DEPENDS="${SPLIT/$PACKAGE/} alsa-lib-dev dbus-dev flac-dev \ 1.72 + gdbm-dev glib-dev libcap-dev libffi-dev libogg-dev libsndfile-dev \ 1.73 + libvorbis-dev pcre-dev pulseaudio-dev util-linux-uuid-dev \ 1.74 + xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev \ 1.75 + xorg-libxcb-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev \ 1.76 + xorg-libXtst-dev" 1.77 + ;; 1.78 + esac 1.79 + TAGS="MATE" 1.80 }