commit:     a34fb231f6b924c1589de9517a81440e0b3ff630
Author:     hautist <lookatnadeko <AT> protonmail <DOT> com>
AuthorDate: Fri Jun 13 17:24:24 2025 +0000
Commit:     hautist <lookatnadeko <AT> protonmail <DOT> com>
CommitDate: Fri Jun 13 17:24:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a34fb231

games-engines/xsystem35-sdl2: new package, add 2.15.1, 2.16.0

Signed-off-by: hautist <lookatnadeko <AT> protonmail.com>

 games-engines/xsystem35-sdl2/Manifest              |  2 +
 games-engines/xsystem35-sdl2/metadata.xml          | 21 +++++++++++
 .../xsystem35-sdl2/xsystem35-sdl2-2.15.1.ebuild    | 44 ++++++++++++++++++++++
 .../xsystem35-sdl2/xsystem35-sdl2-2.16.0.ebuild    | 44 ++++++++++++++++++++++
 4 files changed, 111 insertions(+)

diff --git a/games-engines/xsystem35-sdl2/Manifest 
b/games-engines/xsystem35-sdl2/Manifest
new file mode 100644
index 0000000000..d29caf9f04
--- /dev/null
+++ b/games-engines/xsystem35-sdl2/Manifest
@@ -0,0 +1,2 @@
+DIST xsystem35-sdl2-2.15.1.tar.gz 4607849 BLAKE2B 
1f7f9adfcb8ef67e8cbb75cc8f1eb8bd9f1c90ceea34e3c79dd3014fc84a543fc5161e1c03932f4a77a804009ef14b2c3733d4555f4cd35974b74f5818548f6f
 SHA512 
d011d28d683ab9492b4f9b3c88eb758723d17f0508c4aba4706281aed653a8af89c9d89141a8fd410139a82551e3b438964c71328c097da66278cde025551122
+DIST xsystem35-sdl2-2.16.0.tar.gz 4547571 BLAKE2B 
3027e53f152b19e7e1498c7716c5d18b11484069b13e6d461f19449e75f73b5688f9cfeededd5b9662c79316d961a22b0580e5c9a6114ad88c68500b0660df31
 SHA512 
8e45bf78a78b20cdc1283a50fdc984b34028b13b58992031641b58f24f97de04269de2a36ab673f61d733dcd624add6536ce89093585430e3c83638588b31401

diff --git a/games-engines/xsystem35-sdl2/metadata.xml 
b/games-engines/xsystem35-sdl2/metadata.xml
new file mode 100644
index 0000000000..cb94f64f7f
--- /dev/null
+++ b/games-engines/xsystem35-sdl2/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+        xsystem35-sdl2 is a multi-platform port of xsystem35, a free 
implementation 
+        of AliceSoft's System 3.x game engine. It allows running classic 
Japanese 
+        adventure games that use the System 3.x engine.
+    </longdescription>
+    <use>
+        <flag name="debug">Enable debug build and built-in debugger</flag>
+        <flag name="portmidi">Enable MIDI support via PortMidi</flag>
+    </use>
+    <upstream>
+        <remote-id type="github">kichikuou/xsystem35-sdl2</remote-id>
+        
<changelog>https://github.com/kichikuou/xsystem32-sdl2/blob/master/CHANGELOG.md</changelog>
+    </upstream>
+</pkgmetadata>

diff --git a/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.15.1.ebuild 
b/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.15.1.ebuild
new file mode 100644
index 0000000000..596e4f1009
--- /dev/null
+++ b/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.15.1.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Port of xsystem35, a free implementation of AliceSoft's System 
3.x game engine."
+HOMEPAGE="https://github.com/kichikuou/xsystem35-sdl2";
+SRC_URI="https://github.com/kichikuou/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man debug +portmidi +webp"
+
+DEPEND="
+       media-libs/libsdl2
+       media-libs/sdl2-mixer
+       media-libs/sdl2-ttf
+       sys-libs/zlib
+       webp? ( media-libs/libwebp )
+       debug? ( dev-libs/cJSON )
+       portmidi? ( media-libs/portmidi )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       sys-devel/gettext
+       man? ( dev-ruby/asciidoctor )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
+               -DENABLE_DEBUGGER=$(usex debug)
+               -DENABLE_PORTMIDI=$(usex portmidi)
+               -DENABLE_WEBP=$(usex webp)
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+
+       # Install additional documentation
+       dodoc CHANGELOG.md game_compatibility.md
+}

diff --git a/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.16.0.ebuild 
b/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.16.0.ebuild
new file mode 100644
index 0000000000..596e4f1009
--- /dev/null
+++ b/games-engines/xsystem35-sdl2/xsystem35-sdl2-2.16.0.ebuild
@@ -0,0 +1,44 @@
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Port of xsystem35, a free implementation of AliceSoft's System 
3.x game engine."
+HOMEPAGE="https://github.com/kichikuou/xsystem35-sdl2";
+SRC_URI="https://github.com/kichikuou/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man debug +portmidi +webp"
+
+DEPEND="
+       media-libs/libsdl2
+       media-libs/sdl2-mixer
+       media-libs/sdl2-ttf
+       sys-libs/zlib
+       webp? ( media-libs/libwebp )
+       debug? ( dev-libs/cJSON )
+       portmidi? ( media-libs/portmidi )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       sys-devel/gettext
+       man? ( dev-ruby/asciidoctor )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
+               -DENABLE_DEBUGGER=$(usex debug)
+               -DENABLE_PORTMIDI=$(usex portmidi)
+               -DENABLE_WEBP=$(usex webp)
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+
+       # Install additional documentation
+       dodoc CHANGELOG.md game_compatibility.md
+}

Reply via email to