aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lollypop/APKBUILD
blob: d7a4dc7e46e85e6ae3151faaf937474a2a1304e2 (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
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
pkgname=lollypop
pkgver=1.4.5
# See the git submodule in subprojects/po for the right version
_pover=96d986fedcb64a5cbac1b2654858fd6c0ba0901e
pkgrel=0
pkgdesc="Music player for GNOME"
url="https://gitlab.gnome.org/World/Lollypop"
arch="noarch !mips !mips64 !s390x" # libhandy missing
license="GPL-3.0-only"
depends="python3 libhandy py3-cairo py3-gobject3 py3-pillow py3-pylast totem-pl-parser"
makedepends="gobject-introspection-dev gtk+3.0-dev libhandy-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
	dont-require-py3-gettext-support.patch
	"

prepare() {
	default_prepare

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

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="f43c3b22d7f6a65ee7c4bd0632306e4a7227de6e2c97bee8bd0b3e40c90a0d7ff3346dce0d6a4aeedf070434d272d4f0f8dd9deec2598ca9c3d6cfdae120a6d3  lollypop-1.4.5.tar.gz
253530d72b814a285409c8d8840a792efc096b9880420384dcb291bc078dcdff2f7a8dcffa4a5a7e50156096ffd4134feb479b36a7faf57e62ed27de3603a597  lollypop-po-96d986fedcb64a5cbac1b2654858fd6c0ba0901e.tar.gz
1d514dff539d6d41bed36249d5d5372df81983f6a940657a55a4fa01c94a5389306d8dee48754d07623c913f70d7a59422cb0320975ae78b13e3efe2b66891b5  dont-require-py3-gettext-support.patch"