public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: games-engines/xsystem4/
@ 2025-06-13 19:46 hautist
  0 siblings, 0 replies; 2+ messages in thread
From: hautist @ 2025-06-13 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     aa972224224860ac9226d623fb1358ace90c861d
Author:     hautist <lookatnadeko <AT> protonmail <DOT> com>
AuthorDate: Fri Jun 13 19:45:55 2025 +0000
Commit:     hautist <lookatnadeko <AT> protonmail <DOT> com>
CommitDate: Fri Jun 13 19:45:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa972224

games-engines/xsystem4: new package, add 9999

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

 games-engines/xsystem4/metadata.xml         | 24 +++++++++++
 games-engines/xsystem4/xsystem4-9999.ebuild | 65 +++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/games-engines/xsystem4/metadata.xml b/games-engines/xsystem4/metadata.xml
new file mode 100644
index 0000000000..5f0f9ecfaa
--- /dev/null
+++ b/games-engines/xsystem4/metadata.xml
@@ -0,0 +1,24 @@
+<?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 lang="en">
+		xsystem4 is a cross-platform, open-source implementation of AliceSoft's 
+		System 4 game engine. It allows running modern AliceSoft visual novels 
+		and games that use the System 4 engine on Linux and other platforms. 
+		The engine supports advanced features including 3D graphics, video playback, 
+		and complex scripting.
+	</longdescription>
+	<use>
+		<flag name="debug">Enable Chibi Scheme debugger support for game development and troubleshooting</flag>
+		<flag name="gles2">Use OpenGL ES 2.0 backend instead of desktop OpenGL for better compatibility on embedded systems</flag>
+	</use>
+	<upstream>
+		<remote-id type="github">nunuhara/xsystem4</remote-id>
+		<bugs-to>https://github.com/nunuhara/xsystem4/issues</bugs-to>
+		<changelog>https://github.com/nunuhara/xsystem4/releases</changelog>
+	</upstream>
+</pkgmetadata>

diff --git a/games-engines/xsystem4/xsystem4-9999.ebuild b/games-engines/xsystem4/xsystem4-9999.ebuild
new file mode 100644
index 0000000000..e2888a18ca
--- /dev/null
+++ b/games-engines/xsystem4/xsystem4-9999.ebuild
@@ -0,0 +1,65 @@
+EAPI=8
+
+inherit git-r3 meson
+
+DESCRIPTION="Cross-platform implementation of AliceSoft's System 4 game engine"
+HOMEPAGE="https://github.com/nunuhara/xsystem4"
+EGIT_REPO_URI="https://github.com/nunuhara/xsystem4.git"
+EGIT_SUBMODULES=( '*' )
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug gles2"
+
+RDEPEND="
+	dev-libs/cglm
+	dev-libs/libffi
+	media-libs/freetype:2
+	media-libs/libpng
+	media-libs/libsndfile
+	media-libs/libsdl2
+	media-libs/libwebp
+	sys-libs/zlib
+	media-libs/libjpeg-turbo
+	>=media-video/ffmpeg-5.1
+	gles2? (
+		media-libs/mesa
+	)
+	!gles2? (
+		virtual/opengl
+		media-libs/glew:0=
+	)
+	debug? (
+		dev-scheme/chibi
+	)
+"
+
+DEPEND="
+	${RDEPEND}
+"
+
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+	dev-build/meson
+	dev-build/ninja
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature debug debugger)
+		$(meson_feature gles2 opengles)
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	# Documentation is installed automatically by meson
+	# (shaders/, fonts/, debugger.scm are installed to datadir/xsystem4)
+
+	dodoc README.md game_compatibility.md
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: games-engines/xsystem4/
@ 2025-09-29 21:28 hautist
  0 siblings, 0 replies; 2+ messages in thread
From: hautist @ 2025-09-29 21:28 UTC (permalink / raw
  To: gentoo-commits

commit:     ffd6fcd61ca358266abf110356ee86c81b3be719
Author:     hautist <lookatnadeko <AT> protonmail <DOT> com>
AuthorDate: Mon Sep 29 21:27:32 2025 +0000
Commit:     hautist <lookatnadeko <AT> protonmail <DOT> com>
CommitDate: Mon Sep 29 21:27:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffd6fcd6

games-engines/xsystem4: add 1.0.0

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

 games-engines/xsystem4/Manifest              |  2 +
 games-engines/xsystem4/xsystem4-1.0.0.ebuild | 79 ++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/games-engines/xsystem4/Manifest b/games-engines/xsystem4/Manifest
new file mode 100644
index 0000000000..fe656c2c47
--- /dev/null
+++ b/games-engines/xsystem4/Manifest
@@ -0,0 +1,2 @@
+DIST libsys4-6adc519d11a63df266902abf2d8e755d23894709.tar.gz 122332 BLAKE2B c681a70548acfa5cd30730645bad627c692d4b3d409d7c00a0646d4b07ab4a7329d033ad6b019ace6109d9e90f694d2046e5c9bf982eb6aaa195a0c9eec8ac3f SHA512 e35b3c36f7dc7f768c79c10d704b87685195cf0254bc26337183fbe8ba65e7fc6f41d912409a10bb783642e539dbb5ab1a5b7c085144543a4c2a5417f7d883f8
+DIST xsystem4-1.0.0.tar.gz 15518454 BLAKE2B 698be5bb88b7be786a6c5467be40e9f8524eb402dcd31627c639013efa6eee33ba905fed4ff8b03a6c2ec5fe33cea2529eff4d40d105661a158fd37b07564800 SHA512 04cf2e78d1aaa3a080a6a80f21b050a9f9ebd71102da23058b8e9defd7ce9d108fa5e08b809ad637865866b5bb5c2ae59e15926592715b422efbeca6302289be

diff --git a/games-engines/xsystem4/xsystem4-1.0.0.ebuild b/games-engines/xsystem4/xsystem4-1.0.0.ebuild
new file mode 100644
index 0000000000..b536d81e86
--- /dev/null
+++ b/games-engines/xsystem4/xsystem4-1.0.0.ebuild
@@ -0,0 +1,79 @@
+EAPI=8
+
+inherit meson
+
+# check if submodule commit needs to be updated on each xsystem4 update
+LIBSYS4_COMMIT="6adc519d11a63df266902abf2d8e755d23894709"
+
+DESCRIPTION="Cross-platform implementation of AliceSoft's System 4 game engine"
+HOMEPAGE="https://github.com/nunuhara/xsystem4"
+SRC_URI="
+	https://github.com/nunuhara/xsystem4/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/nunuhara/libsys4/archive/${LIBSYS4_COMMIT}.tar.gz -> libsys4-${LIBSYS4_COMMIT}.tar.gz
+"
+
+#libsys4 submodule uses the same license
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug gles2"
+
+RDEPEND="
+	dev-libs/cglm
+	dev-libs/libffi
+	media-libs/freetype:2
+	media-libs/libpng
+	media-libs/libsndfile
+	media-libs/libsdl2
+	media-libs/libwebp
+	sys-libs/zlib
+	media-libs/libjpeg-turbo
+	>=media-video/ffmpeg-5.1
+	gles2? (
+		media-libs/mesa
+	)
+	!gles2? (
+		virtual/opengl
+		media-libs/glew:0=
+	)
+	debug? (
+		dev-scheme/chibi
+	)
+"
+
+DEPEND="
+	${RDEPEND}
+"
+
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+	dev-build/meson
+	dev-build/ninja
+	virtual/pkgconfig
+"
+
+src_unpack() {
+	default
+
+	rmdir "${S}"/subprojects/libsys4 || die
+	mv "${WORKDIR}"/libsys4-${LIBSYS4_COMMIT}/ "${S}"/subprojects/libsys4 || die
+}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature debug debugger)
+		$(meson_feature gles2 opengles)
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	# Documentation is installed automatically by meson
+	# (shaders/, fonts/, debugger.scm are installed to datadir/xsystem4)
+
+	dodoc README.md game_compatibility.md
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-29 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-29 21:28 [gentoo-commits] repo/proj/guru:dev commit in: games-engines/xsystem4/ hautist
  -- strict thread matches above, loose matches on Subject: below --
2025-06-13 19:46 hautist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox