mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
xrick_libretro: new recipe (#5888)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
display_name = "Rick Dangerous (XRick)"
|
||||
authors = "ZpqrtBnk"
|
||||
supported_extensions = "zip"
|
||||
corename = "XRick"
|
||||
categories = "Game"
|
||||
database = "Rick Dangerous"
|
||||
systemname = "Rick Dangerous Game Engine"
|
||||
systemid = "xrick"
|
||||
license = "GPLv3"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
notes = "(!) XRick requires data ROM 'data.zip'.|(!) Load Content 'data.zip'"
|
||||
14
games-arcade/xrick_libretro/licenses/xrick
Normal file
14
games-arcade/xrick_libretro/licenses/xrick
Normal file
@@ -0,0 +1,14 @@
|
||||
I have written the xrick code. However, graphics and maps and sounds are by the
|
||||
authors of the original Rick Dangerous game, and "Rick Dangerous" remains a
|
||||
trademark of its owners (Core Design) who have yet to reply to my emails.
|
||||
|
||||
This makes it a bit difficult to formally release the whole code, including
|
||||
data for graphics and maps and sounds, under the terms of licences such as the
|
||||
GNU General Public License. So the code is released in the spirit of the GNU
|
||||
GPL. Whatever that means. Do what you want with it, but please let me know. I
|
||||
hate it when I discover xrick has been ported to the FooDoo GameSphereTM and I
|
||||
was not even aware of it.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
@@ -0,0 +1,55 @@
|
||||
SUMMARY="A port of XRick, a Rick Dangerous clone, to the libretro architecture"
|
||||
DESCRIPTION="xrick is an exact clone of Rick Dangerous, produced by carefully \
|
||||
cracking and reverse-engineering the orignal IBM PC (x86 CPU) and Atari ST \
|
||||
(68k CPU) versions of the game, and then porting to C. Thanks to its \
|
||||
structure, and the use of the SDL library, it has been reported to run on \
|
||||
Linux, Windows, BeOs, Amiga, QNX, etc. and all sorts of gaming consoles, \
|
||||
phones and devices."
|
||||
HOMEPAGE="http://www.xrick.net"
|
||||
COPYRIGHT="2000-2021 Bigorno.net, the libretro team"
|
||||
LICENSE="xrick"
|
||||
REVISION="1"
|
||||
srcGitRev="63065483dde7bed6a6f83d2ba1c953ca52d46199"
|
||||
SOURCE_URI="https://github.com/libretro/xrick-libretro/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="95274f410a39049331a631aef4e90fb84c92f4b9036a8c2e36490d0da1a5f240"
|
||||
SOURCE_FILENAME="libretro-xrick-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="xrick-libretro-$srcGitRev"
|
||||
ADDITIONAL_FILES="xrick_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
xrick_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:xrick_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/xrick_libretro.info.in \
|
||||
> xrick_libretro.info
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" README.md README
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
xrick_libretro.info \
|
||||
xrick_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user