freeintv_libretro: a Mattel Intellivision core for libretro (#2330)

This commit is contained in:
Benjamin FRANCOIS
2018-03-15 11:22:05 -07:00
committed by fbrosson
parent 90ad7a3d3d
commit 9c178d632b
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
display_name = "Mattel - Intellivision (FreeIntv)"
authors = "David Richardson"
supported_extensions = "int|bin|rom"
corename = "FreeIntv"
manufacturer = "Mattel"
categories = "Emulator"
systemname = "Intellivision"
database = "Mattel - Intellivision"
license = "GPLv3"
permissions = ""
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"
firmware_count = 2
firmware0_desc = "exec.bin"
firmware0_path = "exec.bin"
firmware0_opt = "false"
firmware1_desc = "grom.bin"
firmware1_path = "grom.bin"
firmware1_opt = "false"
notes = "(!) exec.bin (md5): 62e761035cb657903761800f4437b8af|(!) grom.bin (md5): 0cd5946c6473e42e8e4c2137785e427f"

View File

@@ -0,0 +1,52 @@
SUMMARY="A Mattel Intellivision emulator using the libretro API"
DESCRIPTION="FreeIntv is a libretro emulation core for the Mattel \
Intellivision designed to be compatible with joypads from the SNES era forward \
even if they originally required a number pad."
HOMEPAGE="http://neocomputer.org/projects/freeintv/"
COPYRIGHT="2018 David Richardson, the libretro team"
LICENSE="GNU GPL v3"
REVISION="1"
srcGitRev="1c4959359573619c65d789a89ecd3b5f05d30ca2"
SOURCE_URI="https://github.com/libretro/FreeIntv/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7e676f61255836d7deb5514dc37a92adf91fd804ac35f789cc53c99760bc2b63"
SOURCE_FILENAME="libretro-freeintv-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="FreeIntv-$srcGitRev"
ADDITIONAL_FILES="freeintv_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
freeintv_libretro$secondaryArchSuffix = $portVersion
addon:freeintv_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/freeintv_libretro.info.in \
> freeintv_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 \
freeintv_libretro.info \
freeintv_libretro.so
}