Accepting request 589745 from home:jubalh
I would like to have this in a more official repo than my home. But dont plan to push it into factory (yet). OBS-URL: https://build.opensuse.org/request/show/589745 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=1
This commit is contained in:
commit
29bb111429
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
12
kitty-0.8.2-desktopfile-category.patch
Normal file
12
kitty-0.8.2-desktopfile-category.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urEbwB kitty-0.8.2/setup.py kitty-0.8.2.new/setup.py
|
||||||
|
--- kitty-0.8.2/setup.py 2018-03-17 13:15:57.000000000 +0100
|
||||||
|
+++ kitty-0.8.2.new/setup.py 2018-03-21 11:23:51.409869542 +0100
|
||||||
|
@@ -549,7 +549,7 @@
|
||||||
|
TryExec=kitty
|
||||||
|
Exec=kitty
|
||||||
|
Icon=kitty
|
||||||
|
-Categories=System;
|
||||||
|
+Categories=System;TerminalEmulator;
|
||||||
|
'''
|
||||||
|
)
|
||||||
|
# }}}
|
4
kitty.changes
Normal file
4
kitty.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 20 16:07:57 UTC 2018 - mvetter@suse.com
|
||||||
|
|
||||||
|
- Initial package for openSUSE in version 0.8.2
|
79
kitty.spec
Normal file
79
kitty.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kitty
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: kitty
|
||||||
|
Version: 0.8.2
|
||||||
|
Release: 0
|
||||||
|
Summary: A cross-platform, fast, feature full, GPU based terminal emulator
|
||||||
|
License: GPL-3.0-only
|
||||||
|
Group: System/X11/Terminals
|
||||||
|
URL: https://github.com/kovidgoyal/kitty
|
||||||
|
Source: https://github.com/kovidgoyal/kitty/archive/v%{version}.tar.gz
|
||||||
|
# https://github.com/kovidgoyal/kitty/pull/410
|
||||||
|
Patch0: kitty-0.8.2-desktopfile-category.patch
|
||||||
|
BuildRequires: ImageMagick-devel
|
||||||
|
BuildRequires: Mesa-libGL-devel
|
||||||
|
BuildRequires: fontconfig-devel
|
||||||
|
BuildRequires: freetype2-devel
|
||||||
|
BuildRequires: harfbuzz-devel >= 1.5.0
|
||||||
|
BuildRequires: libXcursor-devel
|
||||||
|
BuildRequires: libXi-devel
|
||||||
|
BuildRequires: libXinerama-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libpng16-compat-devel
|
||||||
|
BuildRequires: libwayland-egl-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: libxkbcommon-x11-devel
|
||||||
|
# for 'tic'
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python3-devel >= 3.5
|
||||||
|
BuildRequires: wayland-devel
|
||||||
|
BuildRequires: wayland-protocols-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
A terminal emulator that uses OpenGL for rendering.
|
||||||
|
Supports modern terminal features like: graphics, unicode,
|
||||||
|
true-color, OpenType ligatures, mouse protocol, focus tracking,
|
||||||
|
bracketed paste and so on. And which can be controlled by scripts.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
find . -type f -exec sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" {} +
|
||||||
|
|
||||||
|
%build
|
||||||
|
python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# yes they have a makefile, no they dont use it properly
|
||||||
|
# no they dont have a make install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc CHANGELOG.rst README.asciidoc
|
||||||
|
%{_bindir}/kitty
|
||||||
|
%{_prefix}/lib/kitty
|
||||||
|
%{_datadir}/applications/kitty.desktop
|
||||||
|
%dir %{_datadir}/icons/hicolor/
|
||||||
|
%dir %{_datadir}/icons/hicolor/256x256/
|
||||||
|
%{_datadir}/icons/hicolor/256x256/apps/
|
||||||
|
%{_datadir}/terminfo/x/xterm-kitty
|
||||||
|
|
||||||
|
%changelog
|
3
v0.8.2.tar.gz
Normal file
3
v0.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:083d89d12b94ba27eccfe89d31988b633d2f2c93f442d29306b652f16c3c9470
|
||||||
|
size 3281308
|
Loading…
Reference in New Issue
Block a user