summaryrefslogtreecommitdiff
path: root/testing/gnomecast/APKBUILD
blob: 545df398b23801e7ee8cfb1480231dc73b3de983 (plain)
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
45
46
47
48
49
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
pkgname=gnomecast
pkgver=1.9.11_git20220423
_commit=d42d8915838b01c5cadacb322909e08ffa455d4f
pkgrel=1
pkgdesc="A native Linux GUI for casting local files to Chromecast devices"
url="https://github.com/keredson/gnomecast"
arch="noarch"
license="GPL-3.0-only"
depends="
	ffmpeg
	gtk+3.0
	python3
	py3-bottle
	py3-dbus
	py3-gobject3
	py3-html5lib
	py3-paste
	py3-pycaption
	py3-pychromecast
	"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check"	# broken tests
source="
	https://github.com/keredson/gnomecast/archive/$_commit/gnomecast-$_commit.tar.gz

	no-pandoc.patch
	"
builddir="$srcdir/gnomecast-$_commit"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}

sha512sums="
00d254330b337d5bc4713de59d3ed1805ac5afb1dcf919c306c41dc6817345902717dff622f902dafa801c0289f76f7a9c328b70fe094a7829f7ec1f836c531f  gnomecast-d42d8915838b01c5cadacb322909e08ffa455d4f.tar.gz
3e15f74bcae0189a37a0ed716302c858738ef10f8fc24cc335ac54b06c6f6920854ac23bf07c3570d7b329e80dc2c3421b999fcf75e95bd6420c97c574510866  no-pandoc.patch
"