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