aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lollypop/APKBUILD
blob: f65b9e3bce0426c60ee33f1982d806cde5c8e383 (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
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
pkgname=lollypop
pkgver=1.3.2
# See the git submodule in subprojects/po for the right version
_pover=418a3682e8372d08ed0955db37f6b23d5cc7db9c
pkgrel=0
pkgdesc="Music player for GNOME"
url="https://gitlab.gnome.org/World/Lollypop"
arch="noarch !s390x" # libhandy missing
license="GPL-3.0-only"
depends="python3 libhandy py3-cairo py3-gobject3 py3-pillow py3-pylast"
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
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="1a2311195c62d46cf558b840541089fac419700be28a1a0c8b1eea872defc07b288b7fa53c93746ac480e91379959a357a286c0d66f970180a14272ea1ac8663  lollypop-$pkgver.tar.gz
5b7a262fec81704ae41d4c498fc98bf0cd9b4e477debb0707106df044ba900cdc5392712f7c31d2a4a81e2f06188dc5049416b755c1aed37cdbf973b0472ebf8  lollypop-po-418a3682e8372d08ed0955db37f6b23d5cc7db9c.tar.gz
94610ee386d5e6102b3cb0e86dbe4303d928f02a1aad6c0697a7d8c2e9c135cc65932b40ba53c5d0446ad17c097f7d900a8e0a8bea533df31b55cbe3ddca47df  dont-require-py3-gettext-support.patch"