blob: 0284eaf0e29598b0067375653b4c7cacc277ddd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
inherit python-any-r1 waf-utils
DESCRIPTION="X terminal emulator rendering through OpenGL ES Compute Shaders"
HOMEPAGE="https://tomscii.sig7.se/zutty/ https://github.com/tomszilagyi/zutty"
SRC_URI="
https://github.com/tomszilagyi/zutty/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/tomscii/zutty/raw/8db89ee270f3130d8a2c5c1201d08e7d627278ce/waf -> ${PF}-waf
"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64"
# It is possible to run the tests using virtualx, but it seems to take
# screenshots of the terminal window, and compares checksums that never
# seem to match.
RESTRICT="test"
RDEPEND="
media-libs/freetype:2
virtual/opengl
x11-libs/libX11
x11-libs/libXmu
x11-libs/libXt
"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig
"
PATCHES=(
# Remove default CXX/LDFLAGS, bug #830405.
"${FILESDIR}"/${PN}-0.12-cxxflags.patch
)
DOCS=( doc/KEYS.org doc/USAGE.org )
src_unpack() {
unpack ${P}.tar.gz
cp "${DISTDIR}"/${PF}-waf "${S}"/waf || die
}
|