commit: f55df414a435cb23c5edbcb59cdbdc9716058ce7 Author: hautist <lookatnadeko <AT> protonmail <DOT> com> AuthorDate: Fri Jun 13 19:42:31 2025 +0000 Commit: hautist <lookatnadeko <AT> protonmail <DOT> com> CommitDate: Fri Jun 13 19:42:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f55df414
games-engines/system3-sdl2: new package, add 1.6.1 Signed-off-by: hautist <lookatnadeko <AT> protonmail.com> games-engines/system3-sdl2/Manifest | 2 + games-engines/system3-sdl2/metadata.xml | 23 ++++++++++ .../system3-sdl2/system3-sdl2-1.6.1.ebuild | 50 ++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/games-engines/system3-sdl2/Manifest b/games-engines/system3-sdl2/Manifest new file mode 100644 index 0000000000..9cc432df01 --- /dev/null +++ b/games-engines/system3-sdl2/Manifest @@ -0,0 +1,2 @@ +DIST system3-sdl2-1.6.1.tar.gz 1599662 BLAKE2B 4f158fe778e5bb1d81334d7c05bfd680bf9e2ab81774356b1ccf55ae94a75dbb182e80d839842ffd3d1acf0d8412c545b1c09992513c6341e2ccd411f41a3960 SHA512 fc12d466768892ddf732010fde1a7e64786ab5e232dafda419800f5a1ec6fc91b1a2e44ea27e85f7371b82d678e5981d243ae3a2cec6b22be023c89c3e9b7352 +DIST ymfm-10c72f79bea3e0ab66af32d4295519aa17e6ea0f.tar.gz 133678 BLAKE2B 0cd42fa15ad3c5ac5f7938937dce7dea13e5e2711b42d0813a6665c52ca740685a56623e845ca3765b9e553fcfafee69acee831d2eb4decc5b6cabf7f17c604e SHA512 e40c85a48456f64faf26dc9c8ae93042c77a5b248ce293fd59480b986102c65c749149bebf23450f9e62e479d328d7046ed4fa8243d863be83da5eb8a3c1059c diff --git a/games-engines/system3-sdl2/metadata.xml b/games-engines/system3-sdl2/metadata.xml new file mode 100644 index 0000000000..e1020e18f5 --- /dev/null +++ b/games-engines/system3-sdl2/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>hautist</name> + </maintainer> + <longdescription lang="en"> + system3-sdl2 is an SDL2 port of AliceSoft's System3 for Win32 enginge, + originally developed by Takeda Toshiya. This cross-platform implementation + allows running classic AliceSoft games on modern systems including Linux, + Android, and web browsers via Emscripten. + </longdescription> + <use> + <flag name="rtmidi">Enable real-time MIDI support via rtmidi library</flag> + <flag name="debug">Enable debug build with debugging symbols and debugger support</flag> + </use> + <upstream> + <remote-id type="github">kichikuou/system3-sdl2</remote-id> + <bugs-to>https://github.com/kichikuou/system3-sdl2/issues</bugs-to> + <changelog>https://github.com/kichikuou/system3-sdl2/blob/master/CHANGELOG.md</changelog> + </upstream> +</pkgmetadata> diff --git a/games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild b/games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild new file mode 100644 index 0000000000..93aa19eba1 --- /dev/null +++ b/games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild @@ -0,0 +1,50 @@ +EAPI=8 + +inherit cmake + +YMFM_COMMIT="10c72f79bea3e0ab66af32d4295519aa17e6ea0f" # Check if this needs updating on xsystem35 updates + +DESCRIPTION="SDL2 port of AliceSoft's System3 for Win32 by Takeda Toshiya." +HOMEPAGE="https://github.com/kichikuou/system3-sdl2" +SRC_URI=" + https://github.com/kichikuou/system3-sdl2/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/aaronsgiles/ymfm/archive/${YMFM_COMMIT}.tar.gz -> ymfm-${YMFM_COMMIT}.tar.gz +" + +LICENSE="GPL-2" +# ymfm submodule license +LICENSE+=" BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="rtmidi debug" + +DEPEND=" + media-libs/libsdl2 + media-libs/sdl2-mixer + media-libs/sdl2-ttf + rtmidi? ( media-libs/rtmidi )" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_unpack() { + default + + rmdir "${S}"/deps/ymfm || die + mv "${WORKDIR}"/ymfm-${YMFM_COMMIT}/ "${S}"/deps/ymfm || die +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) + -DENABLE_DEBUGGER=$(usex debug) + -DBUILD_SHARED_LIBS=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # Install additional documentation + dodoc CHANGELOG.md game_compatibility.md +}
