mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
81_libretro: a ZX-81 emulator for the libretro API (#2284)
This commit is contained in:
committed by
fbrosson
parent
3ed390c4bd
commit
8d187ac78b
52
app-emulation/81_libretro/81_libretro-1.0a_20171221.recipe
Normal file
52
app-emulation/81_libretro/81_libretro-1.0a_20171221.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="A port of the EightyOne ZX-81 emulator to libretro"
|
||||
DESCRIPTION="81-libretro is an work in progress port of the EightyOne \
|
||||
(a.k.a. THE Sinclair Emulator) to libretro. It's being developed on Windows \
|
||||
with MinGW (64 bits) and Debian 8, and tested on RetroArch 1.2 frontend."
|
||||
HOMEPAGE="http://www.chuntey.com/"
|
||||
COPYRIGHT="2008-2018 Michael D Wynne, the libretro team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="6ae21e0980bb8190fe1fc3cb6c4f00797cc6bf0e"
|
||||
SOURCE_URI="https://github.com/libretro/81-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="3332f2777f4b6cc4a8d4109ba74063d1cd118cced49df91478e14fddc064fe68"
|
||||
SOURCE_FILENAME="81-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="81-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="81_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
81_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:81_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/81_libretro.info.in \
|
||||
> 81_libretro.info
|
||||
make -f Makefile.libretro $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 \
|
||||
81_libretro.info \
|
||||
81_libretro.so
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
display_name = "Sinclair - ZX 81 (EightyOne)"
|
||||
authors = "Michael D Wynne"
|
||||
supported_extensions = "p|tzx|t81"
|
||||
corename = "81"
|
||||
manufacturer = "Sinclair"
|
||||
categories = "Emulator"
|
||||
systemname = "ZX81"
|
||||
database = "Sinclair - ZX 81"
|
||||
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."
|
||||
Reference in New Issue
Block a user