# Template file for 'libmatemixer'
pkgname=libmatemixer
version=1.28.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-pulseaudio --enable-alsa
 --enable-udev"
hostmakedepends="pkg-config gettext"
makedepends="libglib-devel alsa-lib-devel pulseaudio-devel eudev-libudev-devel"
short_desc="MATE mixer library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/libmatemixer/master/NEWS"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/libmatemixer-${version}.tar.xz"
checksum=5d73b922397f60688e3c9530eb532bce46c30e262db1b5352fa32c40d870a0c7

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
	}
}
