mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
handy_libretro: an Atary Lynx core for the libretro API (#2351)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
display_name = "Atari - Lynx (Handy)"
|
||||
authors = "K. Wilkins"
|
||||
supported_extensions = "lnx"
|
||||
corename = "Handy"
|
||||
manufacturer = "Atari"
|
||||
categories = "Emulator"
|
||||
systemname = "Lynx"
|
||||
database = "Atari - Lynx"
|
||||
license = "Zlib"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
firmware_count = 1
|
||||
firmware0_desc = "lynxboot.img (Lynx Boot Image)"
|
||||
firmware0_path = "lynxboot.img"
|
||||
firmware0_opt = "true"
|
||||
notes = "(!) lynxboot.img (md5): fcd403db69f54290b51035d82f835e7b"
|
||||
@@ -0,0 +1,51 @@
|
||||
SUMMARY="A port of Handy, an Atari Lynx emulator for the libretro API"
|
||||
DESCRIPTION="Handy is an emulator of the Atari Lynx handheld. It requires the \
|
||||
Lynx BIOS to boot and start games."
|
||||
HOMEPAGE="http://handy.sourceforge.net/"
|
||||
COPYRIGHT="1997-2018 Keith Wilkins, the libretro team"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
srcGitRev="a3d88fede0b2850a242da818d3392a637ce2355f"
|
||||
SOURCE_URI="https://github.com/libretro/libretro-handy/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="2f73151d53d866a0ef64cf1e7d24f9fb41483fe26fd22d0ee8a3e012aafe2e19"
|
||||
SOURCE_FILENAME="handy-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="libretro-handy-$srcGitRev"
|
||||
ADDITIONAL_FILES="handy_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
handy_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:handy_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/handy_libretro.info.in \
|
||||
> handy_libretro.info
|
||||
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 \
|
||||
handy_libretro.info \
|
||||
handy_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user