# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit renpy DESCRIPTION="Visual Novelization of Guns GirlZ Reborn Arc" HOMEPAGE="https://hoyostans.itch.io/guns-girlz-operation-gekkou-reborn" SRC_URI="OperationGekkouReborn-${PV}-pc.zip" S="${WORKDIR}/OperationGekkouReborn-${PV}-pc" LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="~amd64" RESTRICT="bindist fetch" BDEPEND="app-arch/unzip" PATCHES=( "${FILESDIR}/${PN}-1.1.1-misc-fixes.patch" ) RENPY_WINDOW_ICON="game/images/window_icon.png" src_prepare() { # fix multiline strings sed -z -i 's/\r\n "/"/g' game/scripts/*.rpy || die renpy_src_prepare }