raceintospace: New recipe (#6299)

This commit is contained in:
Julius C. Enriquez
2021-11-08 06:13:41 +08:00
committed by GitHub
parent 2701491a82
commit c5cdfde68d

View File

@@ -0,0 +1,75 @@
SUMMARY="A game to relive the 1960s Space Race"
DESCRIPTION="Race Into Space is a simulation of the US-Soviet Space Race. \
In it, you take charge of your countrys space program as Director (US) or \
Designer (USSR). You will purchase and develop space hardware, recruit and \
manage astronauts/cosmonauts, and plan and send missions into space. \
The ultimate goal is to be the first to complete a Moon landing and return \
your people safely to Earth.
Race Into Space (RIS) is a port to modern operating systems of Buzz Aldrins \
Race Into Space (BARIS), a DOS game originally released in 1993 on floppy \
disk, and a year later in an expanded CD version. BARIS was developed by \
Fritz Bronner based on his 1989 board game Liftoff!. Dr. Aldrins name and \
imagery have been dropped because permission to use them was limited to the \
old DOS game."
HOMEPAGE="https://github.com/raceintospace/raceintospace"
COPYRIGHT="1993-2005 Strategic Visions, Interplay"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="a3ecec0d123793b561652e29478eebc438a66537"
SOURCE_URI="https://github.com/raceintospace/raceintospace/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="97584463df7d453e80bd8dd188b4b5af16bb9c0627ef2045b43e9aa6a0921d13"
SOURCE_DIR="raceintospace-$srcGitRev"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
raceintospace$secondaryArchSuffix = $portVersion
app:raceintospace = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libjsoncpp$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libprotobuf$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libtheora$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix >= 1.70.0
devel:libjsoncpp$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libprotobuf$secondaryArchSuffix
devel:libprotoc$secondaryArchSuffix
devel:libphysfs$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
devel:libtheora$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:zip
"
BUILD()
{
cmake -S. -Bbuild -DCMAKE_INSTALL_PREFIX=$appsDir/raceintospace \
-DCMAKE_BUILD_TYPE=Release
make -C build $jobArgs
}
INSTALL()
{
make -C build install
addAppDeskbarSymlink $appsDir/raceintospace/bin/raceintospace "Race Into Space"
}