mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
fuse_libretro: a port of the FUSE emulator to libretro (#2338)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
display_name = "ZX Spectrum (Fuse)"
|
||||
authors = "Team Fuse"
|
||||
supported_extensions = "tzx|tap|z80|rzx|scl|trd"
|
||||
corename = "Fuse"
|
||||
manufacturer = "Sinclair|Amstrad"
|
||||
categories = "Emulator"
|
||||
systemname = "ZX Spectrum (various)"
|
||||
database = "Sinclair - ZX Spectrum +3|Sinclair - ZX Spectrum"
|
||||
license = "GPLv3"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
notes = "[1] Amstrad have kindly given their permission for the redistribution|[^] of their copyrighted material but retain that copyright."
|
||||
@@ -0,0 +1,54 @@
|
||||
SUMMARY="A ZX Spectrum emulator core for libretro"
|
||||
DESCRIPTION="Fuse (the Free Unix Spectrum Emulator) was originally, and \
|
||||
somewhat unsurprisingly, a ZX Spectrum emulator for Unix. However, it has now \
|
||||
also been ported to libretro."
|
||||
HOMEPAGE="http://fuse-emulator.sourceforge.net/"
|
||||
COPYRIGHT="1999-2018, the Fuse team, the libretro team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="2edf7acc43857a82121610c3f9ded6f3d5d6204b"
|
||||
SOURCE_URI="https://github.com/libretro/fuse-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="371962989b41bacaf7569328b05e1c32629d20e6a5f2c7edeaded6e10d346ff2"
|
||||
SOURCE_FILENAME="fuse-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="fuse-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="fuse_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
fuse_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:fuse_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
retroarch$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/fuse_libretro.info.in \
|
||||
> fuse_libretro.info
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" LICENSE README.md
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
fuse_libretro.info \
|
||||
fuse_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user