mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
tyrquake_libretro: a port of the Quake 1 engine to the libretro API (#2687)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
display_name = "Quake 1 (TyrQuake)"
|
||||
authors = "Kevin Shanahan (Tyrann)"
|
||||
supported_extensions = "pak"
|
||||
corename = "TyrQuake"
|
||||
manufacturer = "Id Software"
|
||||
categories = "Game"
|
||||
systemname = "Quake Game Engine"
|
||||
license = "GPLv2"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
database = "Quake1"
|
||||
notes = "[i] Make those folders in the same directory:|[i] -id1 for the main game|[i] -hipnotic for the 1st mission pack|[i] -rogue for the 2nd mission pack|[i] -quoth for Quoth addon|[i] Put BGM into a subfolder named music in each of them."
|
||||
@@ -0,0 +1,57 @@
|
||||
SUMMARY="A port of TyrQuake, a Quake 1 engine, to the libretro architecture"
|
||||
DESCRIPTION="TyrQuake is a fork of the Quake engine, also known as ID tech 2. \
|
||||
It supports Quake and Quakeworld in both software and GL versions. Its goal \
|
||||
is to allow running Quake on modern systems as accurately as the original game \
|
||||
but provides smoother model animations, coloured lighting, fullbrights in \
|
||||
GLQuake, along other improvements."
|
||||
HOMEPAGE="https://disenchant.net/tyrquake/"
|
||||
COPYRIGHT="2003-2018 Kevin Shanahan, the libretro team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="5aa8c55d64320260ca06ae87b5f1eadf8d297912"
|
||||
SOURCE_URI="https://github.com/libretro/tyrquake/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="a78a96ffb53fee8e52b7423a76a9591c49beaa7f9c6dd89027fd4984b1c1cd51"
|
||||
SOURCE_FILENAME="libretro-tyrquake-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="tyrquake-$srcGitRev"
|
||||
ADDITIONAL_FILES="tyrquake_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
tyrquake_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:tyrquake_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
retroarch$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libGL$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/tyrquake_libretro.info.in \
|
||||
> tyrquake_libretro.info
|
||||
make $jobArgs clean && \
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" readme.txt readme-id.txt gnu.txt
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
tyrquake_libretro.info \
|
||||
tyrquake_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user