1 |
commit: 556a1f65d35ad0877383b4958f0099715d22b3de |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 09:10:20 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 09:10:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556a1f65 |
7 |
|
8 |
x11-terms/zutty: add 0.12 |
9 |
|
10 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
11 |
|
12 |
x11-terms/zutty/Manifest | 1 + |
13 |
x11-terms/zutty/files/zutty-0.12-cxxflags.patch | 27 ++++++++++++++++ |
14 |
x11-terms/zutty/zutty-0.12.ebuild | 41 +++++++++++++++++++++++++ |
15 |
3 files changed, 69 insertions(+) |
16 |
|
17 |
diff --git a/x11-terms/zutty/Manifest b/x11-terms/zutty/Manifest |
18 |
index dda55cd631d9..b6740d9b6972 100644 |
19 |
--- a/x11-terms/zutty/Manifest |
20 |
+++ b/x11-terms/zutty/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST zutty-0.11.tar.gz 343469 BLAKE2B 9cd040e72d0ea76a526d099265b3a0974d40b1b8b679ff3baafc47f827b140943ac8bc13676831245e219ca1335ded7aca1e7826baf175fc63e88012791785e1 SHA512 84e8402a310adc80c698ded38fa3eb8ba44034f391e2538bccbdbc4082e239dc0d6ceb20504eeab4e5d2499ded55ef0941ae2e5d07eeb809d1059e5449cdb708 |
23 |
+DIST zutty-0.12.tar.gz 348226 BLAKE2B 8d065928fe3e8049e63f1e679d4e8d2ef6643b01b098698594d536c6fa9494a2a934dce3e4fe60594be4f1b56691a83a8e7fab0dd1ec6c09e12eeb1e69354f5e SHA512 d10289a51469ec6352a5b1feefb732dce7cf507b02ce57e64f8f65443f4533b8d61f357dec92cb00b58386416470928d763290a6d4ff714f65f98f1f09d60083 |
24 |
|
25 |
diff --git a/x11-terms/zutty/files/zutty-0.12-cxxflags.patch b/x11-terms/zutty/files/zutty-0.12-cxxflags.patch |
26 |
new file mode 100644 |
27 |
index 000000000000..11b3066e50ba |
28 |
--- /dev/null |
29 |
+++ b/x11-terms/zutty/files/zutty-0.12-cxxflags.patch |
30 |
@@ -0,0 +1,27 @@ |
31 |
+From 06927a1f2f88bd9d5f4bb8056661ffbc4a0aeb77 Mon Sep 17 00:00:00 2001 |
32 |
+From: Matthew Smith <matt@×××××××××.uk> |
33 |
+Date: Wed, 19 Jan 2022 18:07:55 +0000 |
34 |
+Subject: [PATCH] Remove default CXXFLAGS and LINKFLAGS |
35 |
+ |
36 |
+--- |
37 |
+ wscript | 4 ---- |
38 |
+ 1 file changed, 4 deletions(-) |
39 |
+ |
40 |
+diff --git a/wscript b/wscript |
41 |
+index d2bfbc8..b38b50b 100644 |
42 |
+--- a/wscript |
43 |
++++ b/wscript |
44 |
+@@ -69,10 +69,6 @@ def configure(cfg): |
45 |
+ ['-DDEBUG', '-Og', '-g', '-ggdb']) |
46 |
+ else: |
47 |
+ cfg.env.target = 'zutty' |
48 |
+- cfg.env.append_value('CXXFLAGS', |
49 |
+- ['-Werror', '-O3', '-flto']) |
50 |
+- cfg.env.append_value('LINKFLAGS', |
51 |
+- ['-flto']) |
52 |
+ |
53 |
+ cfg.check_cfg(package='freetype2', args=['--cflags', '--libs'], |
54 |
+ uselib_store='FT') |
55 |
+-- |
56 |
+2.34.1 |
57 |
+ |
58 |
|
59 |
diff --git a/x11-terms/zutty/zutty-0.12.ebuild b/x11-terms/zutty/zutty-0.12.ebuild |
60 |
new file mode 100644 |
61 |
index 000000000000..10690f8057ce |
62 |
--- /dev/null |
63 |
+++ b/x11-terms/zutty/zutty-0.12.ebuild |
64 |
@@ -0,0 +1,41 @@ |
65 |
+# Copyright 1999-2022 Gentoo Authors |
66 |
+# Distributed under the terms of the GNU General Public License v2 |
67 |
+ |
68 |
+EAPI=7 |
69 |
+ |
70 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
71 |
+PYTHON_REQ_USE="threads(+)" |
72 |
+ |
73 |
+inherit python-any-r1 waf-utils |
74 |
+ |
75 |
+DESCRIPTION="X terminal emulator rendering through OpenGL ES Compute Shaders" |
76 |
+HOMEPAGE="https://tomscii.sig7.se/zutty/ https://github.com/tomszilagyi/zutty" |
77 |
+SRC_URI="https://github.com/tomszilagyi/zutty/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
78 |
+ |
79 |
+LICENSE="GPL-3+" |
80 |
+SLOT="0" |
81 |
+KEYWORDS="~amd64" |
82 |
+ |
83 |
+# It is possible to run the tests using virtualx, but it seems to take |
84 |
+# screenshots of the terminal window, and compares checksums that never |
85 |
+# seem to match. |
86 |
+RESTRICT="test" |
87 |
+ |
88 |
+RDEPEND=" |
89 |
+ media-libs/freetype:2 |
90 |
+ virtual/opengl |
91 |
+ x11-libs/libX11 |
92 |
+ x11-libs/libXmu |
93 |
+" |
94 |
+DEPEND="${RDEPEND}" |
95 |
+BDEPEND=" |
96 |
+ ${PYTHON_DEPS} |
97 |
+ virtual/pkgconfig |
98 |
+" |
99 |
+ |
100 |
+PATCHES=( |
101 |
+ # Remove default CXX/LDFLAGS, bug #830405. |
102 |
+ "${FILESDIR}"/${PN}-0.12-cxxflags.patch |
103 |
+) |
104 |
+ |
105 |
+DOCS=( doc/KEYS.org doc/USAGE.org ) |