aboutsummaryrefslogtreecommitdiff
blob: 40164edf41f0d0db5ebb6ec11237d725dff121d1 (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
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit wrapper desktop

DESCRIPTION="Re-Engineered visual novel with accessibility features"
HOMEPAGE="https://www.fhs.sh/projects"
SRC_URI="
	https://github.com/fleetingheart/ksre/releases/download/v$PV/KSRE-linux.tar.bz2 -> ${P}.tar.bz2
"
S="${WORKDIR}/KSRE-linux"

LICENSE="
	MPL-2.0
	CC-BY-NC-ND-3.0
"

SLOT="0"
KEYWORDS="~amd64"

QA_PREBUILT="*"
RESTRICT="strip"

RDEPEND="
	media-libs/libglvnd[X]
"

src_install() {
	insinto "/opt/${PN}"
	doins -r *

	fperms +x "/opt/${PN}/Katawa Shoujo Re-Engineered.sh"
	fperms +x "/opt/${PN}/lib/py3-linux-x86_64/Katawa Shoujo Re-Engineered"

	make_wrapper "${PN}" "/opt/${PN}/Katawa\ Shoujo\ Re-Engineered.sh"

	domenu "${FILESDIR}/${PN}.desktop"
	doicon "${FILESDIR}/${PN}.png"
}