aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-music/APKBUILD
blob: 07e2631034d614330ab917801ee36ced477e8f9e (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-music
pkgver=41.0
pkgrel=0
pkgdesc="Music is the new GNOME music playing application"
url="https://wiki.gnome.org/Apps/Music"
# s390x, mips64 and riscv64 blocked by polkit -> tracker
arch="all !s390x !mips64 !riscv64"
license="GPL-2.0-or-later"
depends="grilo grilo-plugins gnome-online-accounts libdazzle libsoup py3-gobject3
	tracker libmediaart py3-cairo gst-plugins-good tracker-miners"
makedepends="meson gnome-online-accounts-dev libdazzle-dev gtk+3.0-dev libhandy1-dev libsoup-dev
	gobject-introspection-dev grilo-dev grilo-plugins-dev tracker-dev py3-gobject3-dev
	libmediaart-dev py3-cairo-dev itstool"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-dbg $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-music/${pkgver%.*}/gnome-music-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
883f8862d5216ab30c3208a316378c2ef016ba52861c9261b8fa9ceb44f935e4dc35608ea66b333c3bf61c9dcc950fa338adfadc2d5e7f67a7a84467228d28a2  gnome-music-41.0.tar.xz
"