summaryrefslogtreecommitdiff
path: root/games-engines/system3-sdl2
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-18 06:46:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-18 06:46:39 +0000
commit1cb3dfc58c877081451f367584b23c5d9f3211eb (patch)
tree464cdadb21b43100a2e2f1eb7d1bf7dbd1e1443d /games-engines/system3-sdl2
parentea2f4386f269c7dafe96753c0cfa00bc5258d97e (diff)
downloadbaldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.tar.gz
baldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.tar.xz
baldeagleos-repo-1cb3dfc58c877081451f367584b23c5d9f3211eb.zip
Adding metadata
Diffstat (limited to 'games-engines/system3-sdl2')
-rw-r--r--games-engines/system3-sdl2/Manifest2
-rw-r--r--games-engines/system3-sdl2/metadata.xml23
-rw-r--r--games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild50
3 files changed, 75 insertions, 0 deletions
diff --git a/games-engines/system3-sdl2/Manifest b/games-engines/system3-sdl2/Manifest
new file mode 100644
index 000000000000..9cc432df0190
--- /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 000000000000..10d83959adf0
--- /dev/null
+++ b/games-engines/system3-sdl2/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lookatnadeko@protonmail.com</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>
+ <upstream>
+ <changelog>https://github.com/kichikuou/system3-sdl2/blob/master/CHANGELOG.md</changelog>
+ <bugs-to>https://github.com/kichikuou/system3-sdl2/issues</bugs-to>
+ </upstream>
+ <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>
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
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 000000000000..93aa19eba135
--- /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
+}