# Template file for 'libmatemixer'
pkgname=libmatemixer
version=1.24.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="mate-common pkg-config intltool itstool autoconf-archive"
makedepends="libglib-devel alsa-lib-devel pulseaudio-devel"
short_desc="MATE mixer library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1d2f2f0c3b6b31f96b689e28a73d4c3c080061ec22c1b3b4696e7f63e6c1d9d8

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
		vmove usr/share/gtk-doc
	}
}
