aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hypnotix/APKBUILD
blob: e142fa9c0ff5846e797b6d0e2624ecd045e0cbb7 (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
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=hypnotix
pkgver=3.5
pkgrel=0
pkgdesc="IPTV streaming application"
url="https://github.com/linuxmint/hypnotix"
arch="noarch"
license="GPL-3.0-or-later"
depends="
	dconf
	gdk-pixbuf
	glib
	py3-cairo
	py3-gettext
	py3-imdbpy
	py3-mpv
	py3-pillow
	py3-requests
	py3-setproctitle
	py3-unidecode
	pango
	python3
	xapp
	"
makedepends="gettext-dev"
subpackages="$pkgname-lang"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/hypnotix/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	sed -i "s/__DEB_VERSION__/$pkgver/g" "$builddir"/usr/lib/hypnotix/hypnotix.py
}

build() {
	make
}

package() {
	mkdir -p "$pkgdir"
	mv usr/ "$pkgdir"/usr
}

sha512sums="
e0c3dd1fe113b669f7e79e57282b8f07d1c8638edfabf0f444bab7a6c58198cfd06f5bc3978c54fb6326e0661dfdbb5242d4cc5bb25743ce4d942b34faf9dddd  hypnotix-3.5.tar.gz
"