mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
pokemini_libretro, new recipe (#11671)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Software Information
|
||||
display_name = "Nintendo - Pokemon Mini (PokeMini)"
|
||||
authors = "JustBurn"
|
||||
supported_extensions = "min"
|
||||
corename = "PokeMini"
|
||||
license = "GPLv3"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
categories = "Emulator"
|
||||
|
||||
# Hardware Information
|
||||
manufacturer = "Nintendo"
|
||||
systemname = "Pokemon Mini"
|
||||
systemid = "pokemon_mini"
|
||||
|
||||
# Libretro Features
|
||||
supports_no_game = "false"
|
||||
database = "Nintendo - Pokemon Mini"
|
||||
savestate = "true"
|
||||
savestate_features = "deterministic"
|
||||
cheats = "false"
|
||||
input_descriptors = "true"
|
||||
memory_descriptors = "true"
|
||||
libretro_saves = "true"
|
||||
core_options = "true"
|
||||
load_subsystem = "false"
|
||||
hw_render = "false"
|
||||
needs_fullpath = "false"
|
||||
disk_control = "false"
|
||||
is_experimental = "false"
|
||||
|
||||
# Firmware / BIOS
|
||||
firmware_count = 1
|
||||
firmware0_desc = "bios.min (Pokemon Mini BIOS)"
|
||||
firmware0_path = "bios.min"
|
||||
firmware0_opt = "true"
|
||||
notes = "Suggested md5sum:|1e4fb124a3a886865acb574f388c803d = bios.min"
|
||||
|
||||
description = "A port of the homebrew PokeMini emulator, which emulates the Pokemon-Mini handheld console, to libretro."
|
||||
@@ -0,0 +1,53 @@
|
||||
SUMMARY="A port of PokeMini, a Nintendo Pokemon Mini emulator to the libretro API"
|
||||
DESCRIPTION="PokeMini is a Nintendo Pokemon Mini emulator. This is the \
|
||||
libretro core version of PokeMini, for use with RetroArch."
|
||||
HOMEPAGE="http://pokemini.sourceforge.net/"
|
||||
COPYRIGHT="2014 JustBurn, the libretro team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="78656d4615691c393e65e48672ce5fff5b1f97d3"
|
||||
SOURCE_URI="https://github.com/libretro/PokeMini/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ded9849c2bc8c3b9ca363202324760f4d967f1536eb557364ef94e757fa675d2"
|
||||
SOURCE_FILENAME="pokemini-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="PokeMini-$srcGitRev"
|
||||
ADDITIONAL_FILES="pokemini_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
pokemini_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:pokemini_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/pokemini_libretro.info.in \
|
||||
> pokemini_libretro.info
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" LICENSE readme.txt
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
pokemini_libretro.info \
|
||||
pokemini_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user