mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
blobbyvolley2: new recipe (#4769)
Co-authored-by: Crestwave <crestwave@users.noreply.github.com>
This commit is contained in:
77
games-arcade/blobbyvolley2/blobbyvolley2-1.1~git.recipe
Normal file
77
games-arcade/blobbyvolley2/blobbyvolley2-1.1~git.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="Official continuation of the famous Blobby Volley 1.x arcade game"
|
||||
DESCRIPTION="The head-to-head multiplayer ball game
|
||||
|
||||
The \"Dedicated Server\" runs with a Gamespeed of 100%, which means 75 FPS
|
||||
The Port for the Server is 1234."
|
||||
HOMEPAGE="https://github.com/danielknobe/blobbyvolley2"
|
||||
COPYRIGHT="2006-2020 Daniel Knobe
|
||||
2010-2015 Erik Schultheis
|
||||
2006-2009 Jonathan Sieber
|
||||
2006 Sven Rech"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="70ec84da660bf59fe36e3d67508d009afa0ae9c8"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="917291b4140f573030d63132860cde7cdacae4642efb6adf2abb754cb2c84afe"
|
||||
SOURCE_FILENAME="blobbyvolley2-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="blobbyvolley2-$srcGitRev"
|
||||
PATCHES="blobbyvolley2-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
blobbyvolley2$secondaryArchSuffix = $portVersion
|
||||
app:Blobby = $portVersion
|
||||
cmd:blobby_server
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libphysfs$secondaryArchSuffix
|
||||
lib:libSDL2_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libphysfs$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:zip
|
||||
"
|
||||
|
||||
defineDebugInfoPackage blobby$secondaryArchSuffix \
|
||||
"$appsDir/Blobby" \
|
||||
"$commandBinDir/blobby-server"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . $cmakeDirArgs \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-lnetwork" \
|
||||
-DCMAKE_INSTALL_BINDIR="$commandBinDir"
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
install -m 755 -d "$appsDir" "$dataDir" "$docDir"
|
||||
mv "$commandBinDir/blobby" "$appsDir/Blobby"
|
||||
addAppDeskbarSymlink "$appsDir/Blobby" "Blobby Volley 2"
|
||||
|
||||
cp -r doc/* README.md "$docDir"
|
||||
mv "$prefix/share/blobby" "$dataDir"
|
||||
rm -rf "$dataDir/blobby/Icon.bmp" "$prefix/share"
|
||||
}
|
||||
Reference in New Issue
Block a user