kitty: update to 0.27.0

This commit is contained in:
Luis
2023-02-02 19:25:35 +00:00
parent 053471fcc7
commit 81ef2551f4
4 changed files with 606 additions and 628 deletions

View File

@@ -1,2 +1 @@
c292b257d6776ef0f955c0b7a7eca321 disable-docs.patch
a5bd93e6718a9a2ac51067cad6985757 kitty-0.26.5.tar.gz
5bfc4bfe380efca0702736faeba10a74 kitty-0.27.0.tar.xz

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +0,0 @@
HTML docs and even man pages require some extra Sphinx extensions
to be installed.
diff -upr kitty-0.24.3.orig/setup.py kitty-0.24.3/setup.py
--- kitty-0.24.3.orig/setup.py 2022-03-17 17:56:41.669108248 +0100
+++ kitty-0.24.3/setup.py 2022-03-17 17:57:47.155989536 +0100
@@ -943,11 +943,6 @@ def compile_python(base_path: str) -> No
def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None:
- if not os.path.exists('docs/_build/html'):
- make = 'gmake' if is_freebsd else 'make'
- run_tool([make, 'docs'])
- copy_man_pages(ddir)
- copy_html_docs(ddir)
for (icdir, ext) in {'256x256': 'png', 'scalable': 'svg'}.items():
icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', icdir, 'apps')
safe_makedirs(icdir)

View File

@@ -1,16 +1,14 @@
# description : Kitty is a GPU Accelerated Terminal
# homepage : https://sw.kovidgoyal.net/kitty/
# depends : python3 harfbuzz zlib libpng lcms2 freetype2 fontconfig libcanberra imagemagick python3-pygments dbus libxkbcommon libxcursor libxcb libxi libxrandr libxinerama libx11 mesa librsync
# depends : python3 harfbuzz zlib libpng lcms2 freetype2 fontconfig libcanberra imagemagick python3-pygments dbus libxkbcommon libxcursor libxcb libxi libxrandr libxinerama libx11 mesa librsync go
name=kitty
version=0.26.5
version=0.27.0
release=1
source="https://github.com/kovidgoyal/kitty/archive/v$version/$name-$version.tar.gz
disable-docs.patch"
source="https://github.com/kovidgoyal/kitty/releases/download/v$version/$name-$version.tar.xz"
build() {
cd $name-$version
patch -Np1 -i ../disable-docs.patch
python3 setup.py linux-package --update-check-interval=0
python3 setup.py linux-package --prefix "$PKG/usr"
}