# Template file for 'libmatemixer'
pkgname=libmatemixer
version=1.26.0
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="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%.*}/${pkgname}-${version}.tar.xz"
checksum=9a9bcc605b27e9c5c91a28eb7cb79831e6d6fbf6339f5e5c18d524f3ee259ff1

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