aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-media/APKBUILD
blob: 4b8655050960e93170b6f35f6b4d5a0effb50dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-media
pkgver=1.22.0
pkgrel=1
pkgdesc="Media tools for MATE"
url="https://github.com/mate-desktop/mate-media"
arch="all"
license="GPL-2.0"
makedepends="intltool gobject-introspection-dev gtk+3.0-dev
	libcanberra-dev libunique-dev libmatemixer-dev mate-desktop-dev
	dconf-dev libxml2-dev startup-notification-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	install-sh.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="1c1751ebb0c848cece0e2fc10240832dff317dfcc08aa6721fe00feaf2cff907c700f5e0debd5a236078a199b9d65d59124ffca7a04f61d425d16b1adb02fc1f  mate-media-1.22.0.tar.xz
c5b37c91f46ac09fe810cdc040c0cc8b3e457cf23f1fc8965a5e88105b441052772d3b46fd02d6ae35e91c1df81ff4618c9c61319e6ab7314e80243c72222147  install-sh.patch"