# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=kitty pkgver=0.14.6 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 py3-sphinx libcanberra-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/kovidgoyal/kitty/archive/v$pkgver.tar.gz fix-ppc64le-build-ioctl-with-musl.patch py3.patch " # Remove once sphinx-build gets py-attrs dependency makedepends="$makedepends py3-attrs" build() { python3 setup.py linux-package } check() { python3 setup.py test } package() { python3 setup.py linux-package --prefix $pkgdir/usr } sha512sums="0949db2daf0e1cd6e725a8d242fc43f15108964b2acdcf9e307168db99e44cffc339b6c98f3f571d54a8aa3f019442f76b9c4dd6553c715eeeef92057ff84006 kitty-0.14.6.tar.gz 330f56f5fd60607c57f4f2cffdf33768b3af9e4c3e271a60a05cc3c653d70f7402af91ba0cdfe0257c8b4779884a6440eb52496078bce11799aaa1829ced9245 fix-ppc64le-build-ioctl-with-musl.patch e1efe3353721143bef6e198466e84ba5888c6c5f336807c47af4453a2b063d248d3893143dff1792beb71b67bb155dcf5c0bb30d1c265b2fca24e35c6e34a1e2 py3.patch"