aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-music/APKBUILD
blob: 4bc55d717f079843f68320c17c1e39a790e4d6d5 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-music
pkgver=3.32.2
pkgrel=0
pkgdesc="Music is the new GNOME music playing application"
url="https://wiki.gnome.org/Apps/Music"
arch="all"
license="GPL-2.0-or-later"
depends="grilo grilo-plugins gnome-online-accounts libdazzle libsoup py3-gobject3
	tracker libmediaart py3-cairo"
makedepends="meson gnome-online-accounts-dev libdazzle-dev gtk+3.0-dev libsoup-dev
	gobject-introspection-dev grilo-dev grilo-plugins-dev tracker-dev py-gobject3-dev
	libmediaart-dev py-cairo-dev itstool"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-music/${pkgver%.*}/gnome-music-$pkgver.tar.xz
	dont-require-py3-gettext-support.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="633748dcb5cf839f29059fd9bdd5283c455a4157d6c004168d9ef80352b83be3db547377034d0d78af0b6a84fec6fb941888bd53aa14c8bf51da880f04170a23  gnome-music-3.32.2.tar.xz
0437214912794981cdb6df4309f34b40b65ec4412cc0ec9a384da07e22a0c1d3cc8272e2a210f1e614f0e9a9767d96b83624ad1f1f82bd3445ff62c8f1234dc9  dont-require-py3-gettext-support.patch"