mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
75
games-arcade/opensyobonaction/opensyobonaction-2.rc2.recipe
Normal file
75
games-arcade/opensyobonaction/opensyobonaction-2.rc2.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="A jump 'n' run game similar to Super Mario, but more evil"
|
||||
DESCRIPTION="An open-source cross-platform port of the Japanese platformer using SDL.\
|
||||
It is also called \"Shobon no Action,\" \"Neko Mario,\" \"Cat Mario,\" or \"Cat MeOUCHio\".
|
||||
|
||||
* When you are playing this game, there is a possibility that you will develop trust \
|
||||
issues towards game developers.
|
||||
* There is also a possibility of getting stressed out over playing this game.
|
||||
If any problems are caused by this game, the developers take no resposibility.
|
||||
* If you want to distribute this game to a large amount of people, please inform the \
|
||||
developers so that they can seek appropriate shelter.
|
||||
* After you've played this game, give it to someone else who's never played it before. \
|
||||
Then laugh.
|
||||
* The game's text is entirely in Japanese, but you do not need to understand the \
|
||||
Japanese language in order to play.
|
||||
|
||||
Controls (Keyboard):
|
||||
* Left, Right - Move
|
||||
* Down - Enter warp pipe
|
||||
* Z, Up, Semicolon - Jump
|
||||
* Space - Double-speed
|
||||
* Escape - Exit
|
||||
* F1 - Return to title screen
|
||||
* 1-9 at the title screen - Select level
|
||||
* 0 at the title screen - Dungeon of curiosity (there might be... bugs :P)"
|
||||
HOMEPAGE="https://github.com/angelXwind/OpenSyobonAction"
|
||||
COPYRIGHT="2014-2016 angelXwind"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/angelXwind/OpenSyobonAction/archive/RC2-r2.tar.gz"
|
||||
CHECKSUM_SHA256="262032d8d096a187f7006e8eedd0d195bbf5689a93a72dd05f024a93fccd1390"
|
||||
SOURCE_DIR="OpenSyobonAction-RC2-r2"
|
||||
PATCHES="opensyobonaction-2.rc2.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
opensyobonaction$secondaryArchSuffix = $portVersion
|
||||
app:syobonaction = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_gfx$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libsdl_ttf$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsdl_gfx$secondaryArchSuffix
|
||||
devel:libsdl_image$secondaryArchSuffix
|
||||
devel:libsdl_mixer$secondaryArchSuffix
|
||||
devel:libsdl_ttf$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
destdir=$appsDir/OpenSyobonAction
|
||||
mkdir -p $destdir
|
||||
cp -r SyobonAction BGM res SE $destdir
|
||||
addAppDeskbarSymlink $destdir/SyobonAction SyobonAction
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
From 3c2c6f7e034601e5bc32340664eec6fe56017fcd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
||||
Date: Wed, 10 Aug 2016 21:11:00 +0200
|
||||
Subject: [PATCH] Build fix
|
||||
|
||||
---
|
||||
Makefile | 8 ++++----
|
||||
main.cpp | 4 ++++
|
||||
2 files changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index ecfb500..0a6bb43 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,8 +1,8 @@
|
||||
SyobonAction:main.o loadg.o DxLib.o
|
||||
- gcc main.o loadg.o DxLib.o -o SyobonAction `sdl-config --libs` -lSDL_gfx -lSDL_image -lSDL_mixer -lSDL_ttf
|
||||
+ g++ main.o loadg.o DxLib.o -o SyobonAction `sdl-config --libs` -lSDL_gfx -lSDL_image -lSDL_mixer -lSDL_ttf -lroot -lnetwork
|
||||
main.o:main.cpp
|
||||
- gcc -c main.cpp
|
||||
+ g++ -c main.cpp
|
||||
loadg.o:loadg.cpp
|
||||
- gcc -c loadg.cpp
|
||||
+ g++ -c loadg.cpp
|
||||
DxLib.o:DxLib.cpp
|
||||
- gcc -c DxLib.cpp
|
||||
+ g++ -c DxLib.cpp
|
||||
diff --git a/main.cpp b/main.cpp
|
||||
index bb94393..5dbd2fd 100644
|
||||
--- a/main.cpp
|
||||
+++ b/main.cpp
|
||||
@@ -1,9 +1,13 @@
|
||||
#include "main.h"
|
||||
+#include <unistd.h>
|
||||
+#include <string.h>
|
||||
+#include <posix/libgen.h>
|
||||
|
||||
// プログラムは WinMain から始まります
|
||||
//Changed to ansi c++ main()
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
+ chdir(dirname(argv[0]));
|
||||
parseArgs(argc, argv);
|
||||
if (DxLib_Init() == -1)
|
||||
return 1;
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user