mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
69 lines
2.0 KiB
Bash
69 lines
2.0 KiB
Bash
SUMMARY="A gravity-flipping, retro 2D puzzle-platformer"
|
|
DESCRIPTION="VVVVVV is a hit 2010 indie video game from Super Hexagon creator \
|
|
Terry Cavanagh. As Captain Viridian your task is to rescue your crew after a \
|
|
teleporter mishap caused them to be separated in Dimension VVVVVV.
|
|
|
|
Notice requested by the author:
|
|
VVVVVV is a commercial game! The author has given special permission to make \
|
|
this Haiku version available for free. If you enjoy the game, please consider \
|
|
purchasing a copy at https://thelettervsixtim.es."
|
|
HOMEPAGE="https://thelettervsixtim.es"
|
|
COPYRIGHT="Terry Cavanagh 2010-2020"
|
|
LICENSE="VVVVVV Source Code License v1.0"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/TerryCavanagh/VVVVVV/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="3abde2713738b3d29eaab1e8df22763d9a1cac36e5a9c73d65f898de45212027"
|
|
SOURCE_DIR="VVVVVV-$portVersion"
|
|
ADDITIONAL_FILES="vvvvvv.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="!x86"
|
|
|
|
PROVIDES="
|
|
vvvvvv$secondaryArchSuffix = $portVersion
|
|
app:vvvvvv = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
lib:libSDL2_mixer_2.0$secondaryArchSuffix
|
|
vvvvvv_data
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
devel:libSDL2_mixer_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd desktop_version/
|
|
mkdir -p flibitBuild && cd flibitBuild
|
|
cmake ..
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/vvvvvv
|
|
cp desktop_version/flibitBuild/VVVVVV $appsDir/vvvvvv
|
|
|
|
local APP_SIGNATURE="application/x-vnd.vvvvvv"
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local LONG_INFO="$SUMMARY"
|
|
sed \
|
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
$portDir/additional-files/vvvvvv.rdef.in > $sourceDir/vvvvvv.rdef
|
|
addResourcesToBinaries $sourceDir/vvvvvv.rdef $appsDir/vvvvvv/VVVVVV
|
|
|
|
addAppDeskbarSymlink $appsDir/vvvvvv/VVVVVV
|
|
}
|