blob: 7312b648f68aeb918b4d0b34d28086ca70d03d8f (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="VT100 terminal hardware simulator"
HOMEPAGE="https://github.com/larsbrinkhoff/terminal-simulator"
SRC_URI="https://github.com/larsbrinkhoff/terminal-simulator/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="media-libs/libsdl2[opengl] media-libs/sdl2-image virtual/opengl"
RDEPEND="${DEPEND}"
src_compile() {
cd vt100
emake
}
src_install() {
exeinto "/usr/libexec/terminal-simulator"
doexe vt100/vt100
dobin "${FILESDIR}/vt100"
# This directoy is cd'd into because the
# program looks for a hardcoded relative dir
insinto "/usr/share/terminal-simulator/vt100"
doins vt100/*.shader
dodoc README.md
}
|