mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
games-engines/system3-sdl2: new package, add 1.6.1
Signed-off-by: hautist <lookatnadeko@protonmail.com>
This commit is contained in:
2
games-engines/system3-sdl2/Manifest
Normal file
2
games-engines/system3-sdl2/Manifest
Normal file
@@ -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
|
||||||
23
games-engines/system3-sdl2/metadata.xml
Normal file
23
games-engines/system3-sdl2/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?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">
|
||||||
|
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>
|
||||||
|
<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>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">kichikuou/system3-sdl2</remote-id>
|
||||||
|
<bugs-to>https://github.com/kichikuou/system3-sdl2/issues</bugs-to>
|
||||||
|
<changelog>https://github.com/kichikuou/system3-sdl2/blob/master/CHANGELOG.md</changelog>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
50
games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild
Normal file
50
games-engines/system3-sdl2/system3-sdl2-1.6.1.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user