new libretro core : geolith (#10319)

This commit is contained in:
kwyxz
2024-04-08 22:31:12 -07:00
committed by GitHub
parent 0b9a776e62
commit 8618fc9ca0
2 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Software Information
display_name = "SNK - Neo Geo AES/MVS (Geolith)"
authors = "Rupert Carmichael"
supported_extensions = "neo"
corename = "Geolith"
license = "BSD-3-Clause, MIT"
permissions = ""
categories = "Emulator"
display_version = "@DISPLAY_VERSION@"
# Hardware Information
manufacturer = "SNK"
systemname = "Neo Geo"
systemid = "neogeo"
# Libretro Features
supports_no_game = "false"
savestate = "true"
savestate_features = "deterministic"
cheats = "false"
input_descriptors = "true"
memory_descriptors = "false"
libretro_saves = "false"
core_options = "true"
core_options_version = "1.3"
load_subsystem = "false"
hw_render = "false"
needs_fullpath = "false"
disk_control = "false"
database = "SNK - Neo Geo"
# Firmware / BIOS
firmware_count = 2
firmware0_desc = "aes.zip (Neo Geo AES System ROM)"
firmware0_path = "aes.zip"
firmware0_opt = "false"
firmware1_desc = "neogeo.zip (Neo Geo MVS System ROM)"
firmware1_path = "neogeo.zip"
firmware1_opt = "false"
description = "Geolith is a highly accurate emulator for the Neo Geo AES and MVS. Geolith uses the .NEO ROM format developed for the NeoSD, and aims to deliver a more typical home console emulator experience, though arcade mode is also fully supported."

View File

@@ -0,0 +1,52 @@
SUMMARY="A port of Geolith, a SNK Neo-Geo emulator to the libretro API"
DESCRIPTION="Geolith is a highly accurate emulator for the Neo Geo AES and MVS. \
It supports TerraOnion's .NEO file format only."
HOMEPAGE="https://github.com/libretro/geolith-libretro"
COPYRIGHT="2022-2024 Mathieu Peponas, the JGemu team, the libretro team"
LICENSE="BSD (3-clause)"
REVISION="1"
srcGitRev="1ca863e1a10f40be3f3c4cccf22719c6a859d2b3"
SOURCE_URI="https://github.com/libretro/geolith-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="35ffb88184820b9734be9eba25c4c5d9650fa369a298d5a901e214a3c3db6b21"
SOURCE_FILENAME="geolith-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="geolith-libretro-$srcGitRev"
ADDITIONAL_FILES="geolith_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
geolith_libretro$secondaryArchSuffix = $portVersion
addon:geolith_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
$portDir/additional-files/geolith_libretro.info.in \
> geolith_libretro.info
cd libretro
make -j4 platform="unix" $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" LICENSE NONBUGS README
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
geolith_libretro.info \
libretro/geolith_libretro.so
}