# Template file for 'libmatemixer'
pkgname=libmatemixer
version=1.12.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="mate-common pkg-config intltool itstool"
makedepends="libglib-devel alsa-lib-devel pulseaudio-devel"
short_desc="MATE mixer library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=decddd15f3cfb7410428922a30e210d89ac9b87b4433919ae152f14a61ce0ff0

pre_configure() {
	autoreconf -fi
}

libmatemixer-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
