stella_libretro: an Atari VCS emulator libretro core (#2684)

This commit is contained in:
kwyxz
2018-06-13 10:26:24 -07:00
committed by fbrosson
parent 455501e29c
commit a71d09ea49
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
display_name = "Atari - 2600 (Stella)"
authors = "Stephen Anthony|Bradford Mott|Eckhard Stolberg|Brian Watson"
supported_extensions = "a26|bin"
corename = "Stella"
manufacturer = "Atari"
categories = "Emulator"
systemname = "Atari 2600"
database = "Atari - 2600"
license = "GPLv2"
permissions = ""
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"

View File

@@ -0,0 +1,54 @@
SUMMARY="A port of Stella, an Atari 2600 VCS emulator to the libretro API"
DESCRIPTION="Stella is a multi-platform Atari 2600 VCS emulator originally \
developed for Linux by Bradford W. Mott, and currently maintained by Stephen \
Anthony. The Atari 2600 Video Computer System (VCS), introduced in 1977, was \
the most popular home video game system of the early 1980's. Now you can \
enjoy all of your favorite Atari 2600 games on your PC thanks to Stella."
HOMEPAGE="https://stella-emu.github.io/"
COPYRIGHT="1995-2018 the Stella team, the libretro team"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="b0d525b724fa0a9a313e2ea33a590aba98deaabf"
SOURCE_URI="https://github.com/libretro/stella-libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="72f6d611bc51de9da1bd86fb922019d29eb0f30f53386f27e1a404a26736ba1f"
SOURCE_FILENAME="stella-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="stella-libretro-$srcGitRev"
ADDITIONAL_FILES="stella_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
stella_libretro$secondaryArchSuffix = $portVersion
addon:stella_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/stella_libretro.info.in \
> stella_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 \
stella_libretro.info \
stella_libretro.so
}