aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kitty/APKBUILD
blob: eff21cc974bd324216b8ca6dffea4f3f6b21b84a (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kitty
pkgver=0.14.3
pkgrel=0
pkgdesc="A modern, hackable, featureful, OpenGL based terminal emulator"
url="https://sw.kovidgoyal.net/kitty/"
arch="all"
license="GPL-3.0-only"
#some test fails, disabled for now:
#ERROR: test_box_drawing
#ERROR: test_emoji_presentation
#ERROR: test_font_rendering
#ERROR: test_shaping
#ERROR: test_sprite_map
options="!check"
depends="py3-pygments imagemagick ncurses"
makedepends="py3-setuptools harfbuzz-dev zlib-dev libpng-dev freetype-dev
	fontconfig-dev mesa-dev python3-dev dbus-dev libxi-dev
	libxkbcommon-dev libxrandr-dev libxinerama-dev libxcursor-dev
	wayland-protocols wayland-dev py-sphinx libcanberra-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kovidgoyal/$pkgname/archive/v$pkgver.tar.gz
	musl.patch
	fix-ppc64le-build-ioctl-with-musl.patch"

build() {
	python3 setup.py linux-package
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py linux-package --prefix ${pkgdir}/usr
}

sha512sums="3224cf2ceed41d74728d61bda99c0ba7b77cee3867f6139818fbf37b2aa64a411110df9c96ee86a4dbe8f189717b3c39f16bd4f5737f67b2c66b952e67149b9a  kitty-0.14.3.tar.gz
b9005f3fa5329e5c6aaa73900d3b83c51d275c838a587cf4fc375c03be3b695c0730630fdd9895dcc874aae166f9ef507ebe3bf1faaf9983ee2d6569b816d230  musl.patch
330f56f5fd60607c57f4f2cffdf33768b3af9e4c3e271a60a05cc3c653d70f7402af91ba0cdfe0257c8b4779884a6440eb52496078bce11799aaa1829ced9245  fix-ppc64le-build-ioctl-with-musl.patch"