mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
89 lines
2.6 KiB
Bash
89 lines
2.6 KiB
Bash
SUMMARY="A platform-based, anime-styled fighting game"
|
|
DESCRIPTION="Hikou no mizu is a 2D fighting game with anime-inspired graphics. Fights take place \
|
|
in interactive arenas of various sizes. Both networked multiplayer and local games are possible. \
|
|
Joysticks are supported and a simple AI is included for solo playing. Playable characters fight \
|
|
using natural powers such as water, lightning or fire. Currently, three characters are playable: \
|
|
Hikou, Takino and Hana."
|
|
HOMEPAGE="https://hikounomizu.org"
|
|
COPYRIGHT="2010-2024 Duncan Deveaux"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://download.tuxfamily.org/hnm/$portVersion/hikounomizu-$portVersion-src-withdata.tar.bz2"
|
|
CHECKSUM_SHA256="7e6128a52ab802f551c7e3eaf62757045bcc162fc3a2e7f916ece3cf584823b9"
|
|
ADDITIONAL_FILES="hikounomizu.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
hikounomizu$secondaryArchSuffix = $portVersion
|
|
app:HikouNoMizu$secondaryArchSuffix = $portVersion
|
|
cmd:hikounomizud$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libenet$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libpugixml$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
lib:libSDL2_image_2.0$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libenet$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libGL$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:libpugixml$secondaryArchSuffix
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
devel:libSDL2_image_2.0$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -S. -Bbuild $cmakeDirArgs \
|
|
-DCMAKE_INSTALL_BINDIR=$appsDir \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
mv $appsDir/hikounomizu $appsDir/HikouNoMizu
|
|
|
|
mkdir -p $prefix/bin
|
|
mv $appsDir/hikounomizud $prefix/bin/hikounomizud
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="0"
|
|
local LONG_INFO="$SUMMARY"
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
$portDir/additional-files/hikounomizu.rdef.in > hikounomizu.rdef
|
|
|
|
addResourcesToBinaries hikounomizu.rdef \
|
|
$appsDir/HikouNoMizu
|
|
|
|
addAppDeskbarSymlink $appsDir/HikouNoMizu "Hikou no mizu"
|
|
}
|