tyrquake_libretro: a port of the Quake 1 engine to the libretro API (#2687)

This commit is contained in:
kwyxz
2018-06-14 11:59:55 -07:00
committed by fbrosson
parent 3ba1fb3e13
commit d69348bdd9
2 changed files with 70 additions and 0 deletions

View File

@@ -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."

View File

@@ -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
}