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

Signed-off-by: hautist <lookatnadeko@protonmail.com>
This commit is contained in:
hautist
2025-06-13 18:24:24 +01:00
parent c22b8744c3
commit a34fb231f6
4 changed files with 111 additions and 0 deletions

View File

@@ -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

View File

@@ -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>lookatnadeko@protonmail.com</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>

View File

@@ -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
}

View File

@@ -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
}