1 |
commit: 55cfde1c2c9e718fabeed93bb355b1d4fd619e8a |
2 |
Author: end222 <pabloorduna98 <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 12 11:23:32 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 09:29:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cfde1c |
7 |
|
8 |
x11-terms/kitty: bump to 0.18.3 |
9 |
|
10 |
Signed-off-by: Pablo Orduna <pabloorduna98 <AT> gmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
x11-terms/kitty/Manifest | 1 + |
14 |
x11-terms/kitty/kitty-0.18.3.ebuild | 104 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 105 insertions(+) |
16 |
|
17 |
diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest |
18 |
index b36c9876da1..4fc88074c08 100644 |
19 |
--- a/x11-terms/kitty/Manifest |
20 |
+++ b/x11-terms/kitty/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST kitty-0.17.3.tar.xz 3064216 BLAKE2B f5ab532d97c211ceed463c24758635a9e7168bf |
22 |
DIST kitty-0.17.4.tar.xz 3068456 BLAKE2B 7c3be1bd9e1be814ca2c98ac8bed5c8ac906021efee9e399bddb8d1f2d6faa4368f08741fd24666892272c5ffc68e62d490f3a3b20a4f1cb1025401741ace29f SHA512 4ea954a59f44b04a1540d814892b08c93e37c07d7dd32b5db3f50806fa6f39a8a89957c216e47b43bf7aa9571dd0200de7dc12266cc672c9e70e39b2133da0d7 |
23 |
DIST kitty-0.18.1.tar.xz 3098940 BLAKE2B c54f9e7996e8e17182d5cdb3f915964b2626985992dc9f8bf2f11d086475fd7b13ee131aaf942f521cd6356ac13f7efdf436253237022532ffc68cb7923bc645 SHA512 d1870fa8c1c42c9a20251ba7819fb649760a98070653cff6bbc0ef86160d6b20070bbfe4e549b80d75d7a78b37cb3c1153e4be246709cf630129cd4d09a76604 |
24 |
DIST kitty-0.18.2.tar.xz 3100228 BLAKE2B ac7c1c6dc9ced4f8ca59c9a9a9ff2d0c6410bbed64efc8528a899b5b55ad008e65bed6ef1b1fdb74da6b4df2ccef63e1d64ffc375ad225243999bcbb2c1378ec SHA512 12b17f241884347e841b597cc86ac7dec9f509350af33de4e790f586b1cb8a5b89222f25f710f1f5ab82ea09cb1c7b0fa9ffee869cbae497e2a2ab0c6ef1b5a0 |
25 |
+DIST kitty-0.18.3.tar.xz 3107268 BLAKE2B 5a81552d59f5232253c0c23a9a4eb88950a5d6e9c3ca69412ca7d56d521cb69f424461df2718774489de42c78de8253d2336e4bf7f352b488364fe30f418b0c4 SHA512 77636c4d1c21157e86cae3a88bca8b161207c1f1112ce60d11d04e79cf6e8ed331085f99e0caa20b7b4f297d8bf193aeb7afa8679c871085cc9d328ed8da3ad7 |
26 |
|
27 |
diff --git a/x11-terms/kitty/kitty-0.18.3.ebuild b/x11-terms/kitty/kitty-0.18.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8c01019befd |
30 |
--- /dev/null |
31 |
+++ b/x11-terms/kitty/kitty-0.18.3.ebuild |
32 |
@@ -0,0 +1,104 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
+ |
40 |
+inherit eutils python-single-r1 toolchain-funcs xdg |
41 |
+ |
42 |
+if [[ ${PV} == "9999" ]] ; then |
43 |
+ EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz" |
47 |
+ KEYWORDS="~amd64 ~x86" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator" |
51 |
+HOMEPAGE="https://github.com/kovidgoyal/kitty" |
52 |
+ |
53 |
+LICENSE="GPL-3" |
54 |
+SLOT="0" |
55 |
+IUSE="debug wayland" |
56 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ ${PYTHON_DEPS} |
60 |
+ media-libs/fontconfig |
61 |
+ media-libs/freetype:2 |
62 |
+ >=media-libs/harfbuzz-1.5.0:= |
63 |
+ media-libs/libcanberra |
64 |
+ media-libs/libpng:0= |
65 |
+ sys-apps/dbus |
66 |
+ sys-libs/zlib |
67 |
+ x11-libs/libxcb[xkb] |
68 |
+ x11-libs/libXcursor |
69 |
+ x11-libs/libXi |
70 |
+ x11-libs/libXinerama |
71 |
+ x11-libs/libxkbcommon[X] |
72 |
+ x11-libs/libXrandr |
73 |
+ x11-terms/kitty-terminfo |
74 |
+ wayland? ( |
75 |
+ dev-libs/wayland |
76 |
+ >=dev-libs/wayland-protocols-1.17 |
77 |
+ ) |
78 |
+ $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_6) |
79 |
+" |
80 |
+ |
81 |
+DEPEND="${RDEPEND} |
82 |
+ media-libs/mesa[X] |
83 |
+ sys-libs/ncurses |
84 |
+" |
85 |
+ |
86 |
+BDEPEND="virtual/pkgconfig" |
87 |
+ |
88 |
+[[ ${PV} == *9999 ]] && BDEPEND+=" >=dev-python/sphinx-1.7" |
89 |
+ |
90 |
+PATCHES=( |
91 |
+ "${FILESDIR}"/${PN}-0.17.2-flags.patch |
92 |
+ "${FILESDIR}"/${PN}-0.14.4-svg-icon.patch |
93 |
+ "${FILESDIR}"/${PN}-0.16.0-remove-terminfo.patch |
94 |
+) |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ default |
98 |
+ |
99 |
+ # disable wayland as required |
100 |
+ if ! use wayland; then |
101 |
+ sed -i "/'x11 wayland'/s/ wayland//" setup.py || die |
102 |
+ fi |
103 |
+ |
104 |
+ # respect doc dir |
105 |
+ sed -i "/htmldir =/s/appname/'${PF}'/" setup.py || die |
106 |
+ |
107 |
+ tc-export CC |
108 |
+} |
109 |
+ |
110 |
+src_compile() { |
111 |
+ "${EPYTHON}" setup.py \ |
112 |
+ --verbose $(usex debug --debug "") \ |
113 |
+ --libdir-name $(get_libdir) \ |
114 |
+ linux-package || die "Failed to compile kitty." |
115 |
+} |
116 |
+ |
117 |
+src_test() { |
118 |
+ export KITTY_CONFIG_DIRECTORY=${T} |
119 |
+ "${EPYTHON}" test.py || die |
120 |
+} |
121 |
+ |
122 |
+src_install() { |
123 |
+ insinto /usr |
124 |
+ doins -r linux-package/* |
125 |
+ dobin linux-package/bin/kitty |
126 |
+ python_fix_shebang "${ED}" |
127 |
+} |
128 |
+ |
129 |
+pkg_postinst() { |
130 |
+ xdg_icon_cache_update |
131 |
+ optfeature "Displaying images in the terminal" virtual/imagemagick-tools |
132 |
+} |
133 |
+ |
134 |
+pkg_postrm() { |
135 |
+ xdg_icon_cache_update |
136 |
+} |