aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-music/APKBUILD
blob: 84d1452d357ff569a7eb8a9b4afeaa1ecf9edb7d (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
41
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-music
pkgver=3.34.0
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"
options="!check" # invalid appdata fails test...
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="6760de68b671fa2baec81c330466ef4d335043b34b30933f08ace4757b7cad5be946a059be72d55d400a07d0a82781012429e4498d9d5291fc10a2030b5c3848  gnome-music-3.34.0.tar.xz
0437214912794981cdb6df4309f34b40b65ec4412cc0ec9a384da07e22a0c1d3cc8272e2a210f1e614f0e9a9767d96b83624ad1f1f82bd3445ff62c8f1234dc9  dont-require-py3-gettext-support.patch"