mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
Sonic Robo Blast 2: Add recipes (#6313)
This commit is contained in:
committed by
GitHub
parent
1b80969f2c
commit
874457803f
64
games-arcade/srb2/srb2-2.2.9.recipe
Normal file
64
games-arcade/srb2/srb2-2.2.9.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy"
|
||||
DESCRIPTION="Sonic Robo Blast 2 is a 3D open-source Sonic the Hedgehog fangame\
|
||||
built using a modified version of the Doom Legacy port of Doom. SRB2 is \
|
||||
closely inspired by the original Sonic games from the Sega Genesis, and \
|
||||
attempts to recreate the design in 3D. It features tons of levels, enemies, \
|
||||
speed, and quite a lot of the fun that the original Sonic games provided."
|
||||
HOMEPAGE="https://www.srb2.org/"
|
||||
COPYRIGHT="1998-2021 Sonic Team Junior"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="60ca690c6d8f6cc670161851e4b2c08983c7d54f"
|
||||
SOURCE_URI="https://git.do.srb2.org/win8linux/SRB2/-/archive/haiku_release/${srcGitRev}.tar.gz"
|
||||
CHECKSUM_SHA256="a7512668d90281bdf3d10a55a0b1ff3ade38433bfe292f1c4b83d2f2e6122222"
|
||||
SOURCE_DIR="SRB2-haiku_release-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
srb2$secondaryArchSuffix = $portVersion
|
||||
app:srb2 = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libopenmpt$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
lib:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
srb2_data
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libopenmpt$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libSDL2_mixer_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:git
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make HAIKU=1 $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp bin/Release/srb2 $appsDir/srb2
|
||||
|
||||
addAppDeskbarSymlink $appsDir/srb2 "Sonic Robo Blast 2"
|
||||
}
|
||||
25
games-arcade/srb2_data/srb2_data-2.2.9.recipe
Normal file
25
games-arcade/srb2_data/srb2_data-2.2.9.recipe
Normal file
@@ -0,0 +1,25 @@
|
||||
SUMMARY="Data for Sonic Robo Blast 2"
|
||||
DESCRIPTION="Game assets for Sonic Robo Blast 2"
|
||||
HOMEPAGE="https://srb2.org"
|
||||
COPYRIGHT="1998-2020 Sonic Team Junior"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/STJr/SRB2/releases/download/SRB2_release_${portVersion}/SRB2-v229-Full.zip"
|
||||
CHECKSUM_SHA256="48e644604bed81b5ce6b12ef23a2f4042d0118d0ba70f18c534dfe86ebe6f37d"
|
||||
SOURCE_DIR=""
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
srb2_data = $portVersion
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/srb2/
|
||||
cp music.dta $dataDir/srb2/ & cp player.dta $dataDir/srb2/
|
||||
cp models.dat $dataDir/srb2/
|
||||
cp patch_music.pk3 $dataDir/srb2/ & cp patch.pk3 $dataDir/srb2/ & cp srb2.pk3 $dataDir/srb2/ & cp zones.pk3 $dataDir/srb2/
|
||||
cp -r models $dataDir/srb2/
|
||||
}
|
||||
Reference in New Issue
Block a user