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>[email protected]</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 +}
