summaryrefslogtreecommitdiff
path: root/community/lollypop/APKBUILD
blob: 52241d6f4138c7c30e81c2bb5d75c51693374b2a (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Maintainer: Newbyte <newbytee@protonmail.com>
pkgname=lollypop
pkgver=1.4.35
# See the git submodule in subprojects/po for the right version
_pover=01af7dd30cb6534326866d656d990119fb6f842a
pkgrel=2
pkgdesc="Music player for GNOME"
url="https://gitlab.gnome.org/World/Lollypop"
# armhf, ppc64le: py3-pylast
# s390x: doubt anyone would use this on a mainframe
arch="noarch !armhf !ppc64le !s390x"
license="GPL-3.0-only"
depends="
	gst-plugins-good
	libhandy1
	libsecret
	libsoup
	py3-cairo
	py3-gobject3
	py3-gst
	py3-pillow
	py3-pylast
	python3
	totem-pl-parser
	"
makedepends="
	gobject-introspection-dev
	gtk+3.0-dev
	libhandy1-dev
	libsoup-dev
	meson
	py3-gobject3-dev
	"
checkdepends="
	appstream-glib
	desktop-file-utils
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://gitlab.gnome.org/World/lollypop/-/archive/$pkgver/lollypop-$pkgver.tar.gz
	https://gitlab.gnome.org/gnumdk/lollypop-po/-/archive/$_pover/lollypop-po-$_pover.tar.gz
	"

prepare() {
	default_prepare

	mv $srcdir/lollypop-po*/* $srcdir/lollypop-$pkgver/subprojects/po/
}

build() {
	abuild-meson . output
	meson compile -C output
}

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

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

sha512sums="
23cd98362868ce027f760e3376276c8869c78877455d6d2fc73325d5fe7f09a5e572ef96cfe31c1d86ae10be51523719012281ed60ce775d737d553de7efb72c  lollypop-1.4.35.tar.gz
1221bed75c198086216931dae9c41339efc4a5747f890c7c3c848e7c2f51ce2781f2d65a14294db559156d68869c517b28f1ff55eb3dcbbe18b6f718fe0e320f  lollypop-po-01af7dd30cb6534326866d656d990119fb6f842a.tar.gz
"