# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=kitty pkgver=0.12.1 pkgrel=2 pkgdesc="A modern, hackable, featureful, OpenGL based terminal emulator" url="https://sw.kovidgoyal.net/kitty/" arch="all" license="GPL-3.0" #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" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/kovidgoyal/$pkgname/archive/v$pkgver.tar.gz fix-ppc64le-build-ioctl-with-musl.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" python3 setup.py linux-package } check() { cd "$builddir" python3 setup.py test } package() { cd "$builddir" python3 setup.py linux-package --prefix ${pkgdir}/usr } sha512sums="3efdc2ee9d41cddda7ff033fa69531ce48a163ef4b6efa7c5f10ca20511046c26313115383aec6bcef1b2a0fbbac19b2de9a43835130624aada48e12fe54b7df kitty-0.12.1.tar.gz 330f56f5fd60607c57f4f2cffdf33768b3af9e4c3e271a60a05cc3c653d70f7402af91ba0cdfe0257c8b4779884a6440eb52496078bce11799aaa1829ced9245 fix-ppc64le-build-ioctl-with-musl.patch"