aboutsummaryrefslogtreecommitdiffstats
path: root/community/picard/APKBUILD
blob: 1c72d867fd1a99530ae49e3e8cc8761b376ee38c (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=picard
pkgver=2.6.1
pkgrel=0
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
url="https://picard.musicbrainz.org/"
pkgdesc="Official MusicBrainz tagger"
license="GPL-2.0-or-later"
depends="
	chromaprint
	py3-fasteners
	py3-mutagen
	py3-qt5
	"
makedepends="
	gettext
	py3-setuptools
	python3-dev
	"
checkdepends="
	py3-dateutil
	py3-pytest
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/metabrainz/picard/archive/release-$pkgver.tar.gz"
builddir="$srcdir/picard-release-$pkgver"

build() {
	python3 setup.py config
}

check() {
	pytest
}

package() {
	python3 setup.py install \
		--root="$pkgdir" \
		--disable-autoupdate
}

sha512sums="cb429fe88deba5076576f6ef136f399eeae1e657b41521ac30a85d9540c0403b61640441751e985f45b4894773e0b89e9b1f7ff432c573d97327d8784ae25440  picard-2.6.1.tar.gz"