From 882ab995ecd07dd3e1d0793b40b1f02f8c3f6dd0 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 16 Feb 2023 13:42:08 +0100 Subject: games-engines/ponscripter-fork: new package, add 3.0.2 Signed-off-by: Haelwenn (lanodan) Monnier --- games-engines/ponscripter-fork/Manifest | 1 + .../ponscripter-fork/ponscripter-fork-3.0.2.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 games-engines/ponscripter-fork/Manifest create mode 100644 games-engines/ponscripter-fork/ponscripter-fork-3.0.2.ebuild (limited to 'games-engines') diff --git a/games-engines/ponscripter-fork/Manifest b/games-engines/ponscripter-fork/Manifest new file mode 100644 index 000000000..6c3bf3be2 --- /dev/null +++ b/games-engines/ponscripter-fork/Manifest @@ -0,0 +1 @@ +DIST ponscripter-fork-3.0.2.tar.gz 34953189 BLAKE2B b34c7ad22ba489b8bc6dbc4f3b8113aa8c62849f91f8376740045c9125646b32b405e5d2caaf9cbdeb506bf1403f971751f361243945c68c32710cd9f3c5bd22 SHA512 96d02776d4a21bb6dd7993039b21521a6297cc9eda045b842c4f868c7ead6ab6e5d2d28b32d677636704add39efbe7e306825c71ef34cf6d1100b88295d46f30 diff --git a/games-engines/ponscripter-fork/ponscripter-fork-3.0.2.ebuild b/games-engines/ponscripter-fork/ponscripter-fork-3.0.2.ebuild new file mode 100644 index 000000000..a97edf6af --- /dev/null +++ b/games-engines/ponscripter-fork/ponscripter-fork-3.0.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Fork of the Ponscripter visual novel engine to take advantage of SDL2" +HOMEPAGE="https://github.com/07th-mod/ponscripter-fork" +SRC_URI="https://github.com/07th-mod/ponscripter-fork/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+mpeg +ogg" + +RDEPEND=" + media-libs/libsdl2 + media-libs/sdl2-image + media-libs/sdl2-mixer + app-arch/bzip2:= + media-libs/freetype + virtual/jpeg + media-libs/libogg + media-libs/libpng + media-libs/libvorbis + media-libs/smpeg2 + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +BDEPEND=" + app-text/xmlto + dev-lang/perl +" + +src_prepare() { + default + + rm -r src/extlib || die "Failed to remove bundled libraries" + rm -r src/win_dll || die "Failed to remove Windows binaries" + + # Broken test for SDL2_Mixer + sed -i '/^if \$EXTERNAL_SDL_MIXER$/,/^fi$/d' configure || die +} + +src_configure() { + ./configure \ + --no-werror \ + --unsupported-compiler \ + --prefix="${EPREFIX}/usr" \ + --disable-internal-libs \ + --disable-steam +} + +src_install() { + einstalldocs + emake PREFIX="${ED}/usr" install + mv "${ED}/usr/man" "${ED}/usr/share" || die +} -- cgit v1.2.3-65-gdbad