APKBUILD 1.74 KB
Newer Older
1
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
Newbyte's avatar
Newbyte committed
2
# Maintainer: Newbyte <newbytee@protonmail.com>
3
pkgname=lollypop
Newbyte's avatar
Newbyte committed
4
pkgver=1.4.19
5
# See the git submodule in subprojects/po for the right version
6 7
_pover=839c22622aa106fe63e7bda409b4f25f172ecd04
pkgrel=1
8 9
pkgdesc="Music player for GNOME"
url="https://gitlab.gnome.org/World/Lollypop"
10
arch="noarch !mips !mips64 !s390x" # libhandy missing
11
license="GPL-3.0-only"
Newbyte's avatar
Newbyte committed
12
depends="python3 libhandy1 libsecret libsoup py3-cairo py3-gobject3 py3-gst py3-pillow py3-pylast totem-pl-parser"
Newbyte's avatar
Newbyte committed
13
makedepends="gobject-introspection-dev gtk+3.0-dev libhandy1-dev libsoup-dev
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
	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
30
	meson compile ${JOBS:+-j ${JOBS}} -C output
31 32 33
}

check() {
34
	meson test --no-rebuild -v -C output
35 36 37
}

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

Newbyte's avatar
Newbyte committed
41
sha512sums="f046e799d43f96f8d1deb49db7076dc8a2a87ee8886496b16a10ce8075d710957a139ec6786503bd4023e078239ad90dcb992b51d1b3291c787d80b97d6c6130  lollypop-1.4.19.tar.gz
42
5999b272bbc0ee1516a7d18ca7d33606d668c70e25a58fd5ed1ab53c1c07371a450f3dc3b7ebce2babc1eaaa6aa502a68cd9a019fc003d1f50d0522135e6d9f7  lollypop-po-839c22622aa106fe63e7bda409b4f25f172ecd04.tar.gz
43
1d514dff539d6d41bed36249d5d5372df81983f6a940657a55a4fa01c94a5389306d8dee48754d07623c913f70d7a59422cb0320975ae78b13e3efe2b66891b5  dont-require-py3-gettext-support.patch"