mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
yabause_libretro: first upload of new libretro core (#4310)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
display_name = "Sega - Saturn (Yabause)"
|
||||
authors = "Guillaume Duhammel|Theo Berkau|Anders Montonen"
|
||||
supported_extensions = "cue|iso|mds|ccd|zip|chd"
|
||||
corename = "Yabause"
|
||||
manufacturer = "Sega"
|
||||
categories = "Emulator"
|
||||
systemname = "Saturn"
|
||||
systemid = "sega_saturn"
|
||||
database = "Sega - Saturn"
|
||||
license = "GPLv2"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
firmware_count = 1
|
||||
firmware0_desc = "saturn_bios.bin (Saturn BIOS)"
|
||||
firmware0_path = "saturn_bios.bin"
|
||||
firmware0_opt = "true"
|
||||
notes = "(!) saturn_bios.bin (md5): af5828fdff51384f99b3c4926be27762"
|
||||
@@ -0,0 +1,53 @@
|
||||
SUMMARY="A port of Yabause, a Sega Saturn emulator to the libretro API"
|
||||
DESCRIPTION="Yabause is a Sega Saturn emulator licensed under the GPL2+. \
|
||||
In order to use it you will need at least one Sega Saturn BIOS that cannot \
|
||||
be provided with this emulator for copyright reasons."
|
||||
HOMEPAGE="https://yabause.org/"
|
||||
COPYRIGHT="2003-2019 Guillaume Duhamel, Theo Berkau, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="4c71875b85e4dfe0e90e59e91cd01766d2f09b89"
|
||||
SOURCE_URI="https://github.com/libretro/yabause/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="84d290e58f164e7f2577744ec7301f2bf5dfd01b1c2a052d0798881173f8782c"
|
||||
SOURCE_FILENAME="libretro-yabause-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="yabause-$srcGitRev"
|
||||
ADDITIONAL_FILES="yabause_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
yabause_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:yabause_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
retroarch$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/yabause_libretro.info.in \
|
||||
> yabause_libretro.info
|
||||
cd yabause/src/libretro && make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" README.md
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
yabause_libretro.info \
|
||||
yabause/src/libretro/yabause_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user