1 |
commit: 2e7d4e8537a6b3e3be82d79b8dc995ff6cd37ae5 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 31 04:05:41 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 31 04:37:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e7d4e85 |
7 |
|
8 |
x11-terms/kitty: version bump to 0.8.3 |
9 |
|
10 |
x11-terms/kitty/Manifest | 1 + |
11 |
x11-terms/kitty/kitty-0.8.3.ebuild | 86 ++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 87 insertions(+) |
13 |
|
14 |
diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest |
15 |
index 50352a90059..27a671fd5c6 100644 |
16 |
--- a/x11-terms/kitty/Manifest |
17 |
+++ b/x11-terms/kitty/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST kitty-0.8.2.tar.gz 3281308 BLAKE2B 6219dddc02e8b98b913356708fd2e398ad17aea97b0c539132b2333a736324d76136a6b6599b925424a8e7c578e9ef92b38ef5aa8ea5b42788731ecf19ad5e27 SHA512 4dabbce40a5fe0e54ac64b429baf3491ab492846f0f31b4b763c06c7aeba80a482bfd083419d3ddcd1bc267553458b719df82a2a179d90a88be3ce41a47d9897 |
20 |
+DIST kitty-0.8.3.tar.gz 3285120 BLAKE2B dcf47345f26beaaae5a63f122a3592c29a8ef2243406377ebb46fd44b9d8036f2f5493d7b1048195e12a7fb9874fce920ac52a0bb18e071e5e3db869691174d9 SHA512 b758a178b976d7dc133dd48bfafff5db8a373419a67206a8724695392c0654a9d5ba07867cbd6824afe1a5c013724d8472ab4087eae52c8bdb27843688b18968 |
21 |
|
22 |
diff --git a/x11-terms/kitty/kitty-0.8.3.ebuild b/x11-terms/kitty/kitty-0.8.3.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..b51c9110b0e |
25 |
--- /dev/null |
26 |
+++ b/x11-terms/kitty/kitty-0.8.3.ebuild |
27 |
@@ -0,0 +1,86 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+PYTHON_COMPAT=( python3_{5,6} ) |
33 |
+ |
34 |
+inherit python-single-r1 toolchain-funcs |
35 |
+ |
36 |
+if [[ ${PV} == "9999" ]] ; then |
37 |
+ EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git" |
38 |
+ inherit git-r3 |
39 |
+else |
40 |
+ SRC_URI="https://github.com/kovidgoyal/kitty/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ KEYWORDS="~amd64 ~x86" |
42 |
+fi |
43 |
+ |
44 |
+DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator" |
45 |
+HOMEPAGE="https://github.com/kovidgoyal/kitty" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+IUSE="debug imagemagick wayland" |
50 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+COMMON_DEPS=" |
53 |
+ ${PYTHON_DEPS} |
54 |
+ >=media-libs/harfbuzz-1.5.0:= |
55 |
+ sys-libs/zlib |
56 |
+ media-libs/libpng:0= |
57 |
+ media-libs/freetype:2 |
58 |
+ media-libs/fontconfig |
59 |
+ x11-libs/libXcursor |
60 |
+ x11-libs/libXrandr |
61 |
+ x11-libs/libXi |
62 |
+ x11-libs/libXinerama |
63 |
+ x11-libs/libxkbcommon[X] |
64 |
+ wayland? ( |
65 |
+ dev-libs/wayland |
66 |
+ >=dev-libs/wayland-protocols-1.12 |
67 |
+ ) |
68 |
+" |
69 |
+RDEPEND=" |
70 |
+ ${COMMON_DEPS} |
71 |
+ imagemagick? ( virtual/imagemagick-tools ) |
72 |
+" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ virtual/pkgconfig |
75 |
+" |
76 |
+ |
77 |
+PATCHES=( |
78 |
+ "${FILESDIR}"/${PN}-0.7.1-flags.patch |
79 |
+ "${FILESDIR}"/${PN}-0.7.1-svg-icon.patch |
80 |
+) |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ |
85 |
+ # disable wayland as required |
86 |
+ if ! use wayland; then |
87 |
+ sed -i "/'x11 wayland'/s/ wayland//" setup.py || die |
88 |
+ fi |
89 |
+ |
90 |
+ tc-export CC |
91 |
+} |
92 |
+ |
93 |
+doecho() { |
94 |
+ echo "$@" |
95 |
+ "$@" || die |
96 |
+} |
97 |
+ |
98 |
+src_compile() { |
99 |
+ doecho "${EPYTHON}" setup.py --verbose $(usex debug --debug "") --libdir-name $(get_libdir) linux-package |
100 |
+} |
101 |
+ |
102 |
+src_test() { |
103 |
+ export KITTY_CONFIG_DIRECTORY=${T} |
104 |
+ "${EPYTHON}" test.py || die |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ mkdir -p "${ED}"usr || die |
109 |
+ cp -r linux-package/* "${ED}usr" || die |
110 |
+ python_fix_shebang "${ED}" |
111 |
+ |
112 |
+ dodoc CHANGELOG.rst *.asciidoc |
113 |
+} |