logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 95de169844695d728ff5154d5c03bb206faddbcc
parent dcf7ab20976d4cc077d5a51530af0c15128b4b54
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 22 Jun 2021 10:47:07 +0200

games-visualnovel/doki-doki-litterature-club: Remove for now, renpy + python-2 :(

Diffstat:

Dgames-visualnovel/doki-doki-litterature-club/Manifest2--
Dgames-visualnovel/doki-doki-litterature-club/doki-doki-litterature-club-1.1.1.ebuild82-------------------------------------------------------------------------------
Dgames-visualnovel/doki-doki-litterature-club/metadata.xml11-----------
3 files changed, 0 insertions(+), 95 deletions(-)

diff --git a/games-visualnovel/doki-doki-litterature-club/Manifest b/games-visualnovel/doki-doki-litterature-club/Manifest @@ -1,2 +0,0 @@ -DIST doki-doki-litterature-club-1.1.0.zip 240636060 BLAKE2B c884394d348ceacacaeb6ff93578e8a620ca21ec6d10884bf2909d1c40aa7f7c97cdb6c533c6df84fb6c80b6943e78ed23e9c651ba64ccb12944fa284ef915ec SHA512 6e4f71d87778852a4cd9430a78ffb5dea23d5dac427444736542d47da59dad23c40e20cf35e37c670b210418ecb831cae8969cc614124dfbbece7a14efa1eacb -DIST doki-doki-litterature-club-1.1.1.zip 231593427 BLAKE2B 5ad991f9e631c7db8c99fae23ce0d52e8afafb9e50026967d543c7818006ce63050fff1396c5b5eeedd2b36019ab95a0503466dbff911167dfa1d2cc85199951 SHA512 f5ecaa288f076c16532ceeada75e0086fdfb35544e5ac267a1de90eac20a4e1746d9edbd1d3b429153f611edfc2454b9efc86309d7059cd502d14a997117de70 diff --git a/games-visualnovel/doki-doki-litterature-club/doki-doki-litterature-club-1.1.1.ebuild b/games-visualnovel/doki-doki-litterature-club/doki-doki-litterature-club-1.1.1.ebuild @@ -1,82 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Copyright 2018-2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -# Copied from katawa-shoujo-1.3.1.ebuild - -EAPI=5 - -inherit eutils gnome2-utils - -DESCRIPTION="Psychological horror game presented as a romance visual novel" -HOMEPAGE="https://ddlc.moe/" -SRC_URI="${P}.zip" -RESTRICT="bindist fetch" - -# bundled renpy includes licenses of all libraries -LICENSE="all-rights-reserved - !system-renpy? ( MIT PSF-2 LGPL-2.1 || ( FTL GPL-2+ ) IJG libpng ZLIB BZIP2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +system-renpy" - -# app-arch/unzip for SRC_URI -DEPEND="app-arch/unzip" -RDEPEND="system-renpy? ( games-engines/renpy )" - -REQUIRED_USE="!system-renpy? ( || ( amd64 x86 ) )" - -# Binaries are built extremely weirdly, resulting in errors like: -# BFD: Not enough room for program headers, try linking with -N -# -# Technically, we could make this unconditional because there are no other -# binaries, but it's still good practice. -RESTRICT="!system-renpy? ( strip )" - -QA_PREBUILT="/opt/${PN}/lib/*" - -S="${WORKDIR}/DDLC-${PV}-pc" - -pkg_nofetch() { - einfo "Please download “DDLC (Windows) version ${PV}” on ${HOMEPAGE}" - einfo "and save it as ${DISTDIR}/${SRC_URI}" -} - -src_install() { - if use system-renpy; then - insinto "/usr/share/${PN}" - doins -r game/. - - make_wrapper ${PN} "renpy '/usr/share/${PN}'" - else - insinto "/opt/${PN}" - doins -r game localizations renpy "DDLC."{py,sh} - - local host="${CTARGET:-${CHOST}}" - local arch="${host%%-*}" - - cd lib - insinto "/opt/${PN}/lib" - doins -r linux-${arch} pythonlib2.7 - cd .. - - fperms +x "/opt/${PN}/lib/linux-${arch}/"{python,"DDLC"} \ - "/opt/${PN}/DDLC."{py,sh} - - make_wrapper ${PN} "./DDLC.sh" "/opt/${PN}" - fi - - make_desktop_entry ${PN} "DDLC" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-visualnovel/doki-doki-litterature-club/metadata.xml b/games-visualnovel/doki-doki-litterature-club/metadata.xml @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <use> - <flag name="system-renpy">Use <pkg>games-engines/renpy</pkg> instead of the bundled one (experimental)</flag> - </use> -</pkgmetadata>