projects/aports·blob master · refs

47 lines · 1.2 KiB

1# Contributor: Adam Plumb <[email protected]>
2# Maintainer: Adam Plumb <[email protected]>
3pkgname=pithos
4pkgver=1.6.1
5pkgrel=0
6pkgdesc="GTK+ player for pandora web radio"
7url="https://pithos.github.io/"
8arch="noarch"
9license="GPL-3.0-only"
10depends="
11 gst-libav
12 gst-plugins-base
13 gst-plugins-good
14 gtk+3.0
15 libsecret
16 python3
17 py3-cairo
18 py3-gobject3
19 "
20makedepends="meson glib-dev help2man py3-sphinx"
21subpackages="$pkgname-doc $pkgname-pyc"
22source="https://github.com/pithos/pithos/releases/download/$pkgver/pithos-$pkgver.tar.xz
23 no-optimise.patch
24 "
25
26build() {
27 abuild-meson . output
28 meson compile -C output
29}
30
31package() {
32 DESTDIR="$pkgdir" meson install -C output
33}
34
35pyc() {
36 pkgdesc="Precompiled Python bytecode for ${subpkgname%-pyc}"
37 install_if="${subpkgname%-pyc}=$pkgver-r$pkgrel pyc"
38
39 cd "$pkgdir" || return 0
40 local IFS=$'\n'
41 amove $(find usr/share* -type d -name __pycache__)
42}
43
44sha512sums="
45e1a13d2c789e40bf135ed551d06dfe44bf948bfe84a8bbb3f4afcab70bbcdc4f1d3f82d25f5e8d930888dd6fa04795fa2d9d47515d4199647be854c9c4a84591 pithos-1.6.1.tar.xz
46d80de0beb0e856d5020f7d4a275abb00404bbd5875f1639a324a8f21f58208594a0962b73e7b0bda765ef74649db5e10e8a2a02e57f18d7d55212be51655c436 no-optimise.patch
47"