aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-music/APKBUILD
blob: f9c8180a1b585c13b7121a4e92c54dbde3226f77 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-music
pkgver=42.1
pkgrel=1
pkgdesc="Music is the new GNOME music playing application"
url="https://wiki.gnome.org/Apps/Music"
# s390x blocked by exempi -> tracker-miners
arch="all !s390x"
license="GPL-2.0-or-later"
depends="
	gnome-online-accounts
	grilo
	grilo-plugins
	gst-plugins-good
	libdazzle
	libmediaart
	libsoup
	py3-cairo
	py3-gobject3
	tracker
	tracker-miners
	"
makedepends="
	desktop-file-utils
	gnome-online-accounts-dev
	gobject-introspection-dev
	grilo-dev
	grilo-plugins-dev
	gtk4.0-dev
	itstool
	libadwaita-dev
	libmediaart-dev
	libsoup-dev
	meson
	py3-cairo-dev
	py3-gobject3-dev
	tracker-dev
	"
checkdepends="
	appstream-glib
	"
subpackages="$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 --print-errorlogs -C output
}

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

sha512sums="
4feb02459a010c83c66bde12d73be648e9e482117bda88ae2e44e93b59ac7c0b80522e8e4d7ccb38954465d7c012975521b0764f0a42dbecef737fe64d3c3bf1  gnome-music-42.1.tar.xz
"