mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
kitty: update to 0.12.0
This commit is contained in:
parent
a4dd50388a
commit
0e3580a25d
2 changed files with 13 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
||||||
--- setup.py 2018-05-04 21:16:28.000000000 -0700
|
--- setup.py
|
||||||
+++ setup.py 2018-05-05 06:30:39.111289470 -0700
|
+++ setup.py
|
||||||
@@ -559,7 +559,7 @@
|
@@ -584,7 +584,7 @@ def compile_python(base_path):
|
||||||
shutil.copytree('kitty', os.path.join(libdir, 'kitty'), ignore=src_ignore)
|
|
||||||
shutil.copytree('kittens', os.path.join(libdir, 'kittens'), ignore=src_ignore)
|
|
||||||
import compileall
|
|
||||||
- compileall.compile_dir(libdir, quiet=1, workers=4)
|
|
||||||
+ compileall.compile_dir(libdir, quiet=1, workers=1)
|
|
||||||
for root, dirs, files in os.walk(libdir):
|
|
||||||
for f in files:
|
for f in files:
|
||||||
path = os.path.join(root, f)
|
if f.rpartition('.')[-1] in ('pyc', 'pyo'):
|
||||||
|
os.remove(os.path.join(root, f))
|
||||||
|
- compileall.compile_dir(base_path, ddir='', force=True, optimize=1, quiet=1, workers=num_workers)
|
||||||
|
+ compileall.compile_dir(base_path, ddir='', force=True, optimize=1, quiet=1, workers=1)
|
||||||
|
|
||||||
|
|
||||||
|
def package(args, for_bundle=False, sh_launcher=False):
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
# Template file for 'kitty'
|
# Template file for 'kitty'
|
||||||
pkgname=kitty
|
pkgname=kitty
|
||||||
version=0.11.3
|
version=0.12.0
|
||||||
revision=1
|
revision=1
|
||||||
python_version=3
|
python_version=3
|
||||||
hostmakedepends="ncurses pkg-config"
|
hostmakedepends="ncurses pkg-config"
|
||||||
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
|
makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel
|
||||||
python3-devel wayland-devel wayland-protocols"
|
python3-devel wayland-devel wayland-protocols"
|
||||||
depends="kitty-terminfo"
|
depends="kitty-terminfo"
|
||||||
conf_files="/etc/kitty/kitty.conf"
|
|
||||||
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
|
short_desc="Modern, hackable, featureful, OpenGL based terminal emulator"
|
||||||
maintainer="Benjamin Slade <slade@jnanam.net>"
|
maintainer="Benjamin Slade <slade@jnanam.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://sw.kovidgoyal.net/kitty/"
|
homepage="https://sw.kovidgoyal.net/kitty/"
|
||||||
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
|
distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz"
|
||||||
checksum=e36e3d777824030b686003fbf20c1861efb8183e43bf3efc9cb8f92a0aa9a10e
|
checksum=21f59e458980c0f2c977f4dcc8f7ac287c49f0315ed7a21dcbcb341691f430d1
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" python3-devel wayland-devel wayland-protocols"
|
hostmakedepends+=" python3-devel wayland-devel wayland-protocols"
|
||||||
|
@ -32,8 +31,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir etc/kitty
|
vsconf ${DESTDIR}/usr/share/doc/kitty/html/_downloads/kitty.conf
|
||||||
cp ${DESTDIR}/usr/share/doc/kitty/html/_downloads/kitty.conf ${DESTDIR}/etc/kitty/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
kitty-terminfo_package() {
|
kitty-terminfo_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue