# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-media
pkgver=1.28.1
pkgrel=0
pkgdesc="Media tools for MATE"
url="https://github.com/mate-desktop/mate-media"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	dconf-dev
	gobject-introspection-dev
	gtk+3.0-dev
	intltool
	libcanberra-dev
	libmatemixer-dev
	libxml2-dev
	mate-desktop-dev
	mate-panel-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-media-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0ec675c59fcce26c26ec32cc11f6590060aeb0a302a434fcf381130c257e5833bc7a8075a8aab4bec85ad16a5a42e601d412b22a6f601c88c3c62006938674d2  mate-media-1.28.1.tar.xz
"
