mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
abe, updated recipe, no fullscreen on startup
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
SUMMARY="A simple platformer game for children"
|
SUMMARY="A simple platform game"
|
||||||
DESCRIPTION="This is a very simple platformer game for children. \
|
DESCRIPTION="This is a very simple platformer game for children. \
|
||||||
It's a worthwhile adventure, no doubt. Find treasures as you go! \
|
It's a worthwhile adventure, no doubt. Find treasures as you go! \
|
||||||
In addition, this game also comes with a Map Editor."
|
In addition, this game also comes with a Map Editor."
|
||||||
HOMEPAGE="http://abe.sourceforge.net/"
|
HOMEPAGE="http://abe.sourceforge.net/"
|
||||||
COPYRIGHT="2001-2013 Gabor Torok"
|
COPYRIGHT="2001-2013 Gabor Torok"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="http://superb-dca3.dl.sourceforge.net/project/abe/abe/abe-1.1/abe-1.1.tar.gz"
|
SOURCE_URI="http://superb-dca3.dl.sourceforge.net/project/abe/abe/abe-1.1/abe-1.1.tar.gz"
|
||||||
CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7"
|
CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7"
|
||||||
SOURCE_DIR="abe-1.1"
|
SOURCE_DIR="abe-1.1"
|
||||||
@@ -14,7 +14,7 @@ PATCHES="abe-1.1.patch"
|
|||||||
ARCHITECTURES="x86 x86_gcc2"
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
Abe= $portVersion
|
abe= $portVersion
|
||||||
app:Abe= $portVersion
|
app:Abe= $portVersion
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
@@ -37,28 +37,21 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCH()
|
|
||||||
{
|
|
||||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in
|
|
||||||
}
|
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
aclocal -I $sourceDir
|
aclocal -I $sourceDir
|
||||||
autoconf
|
autoconf
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
runConfigure ./configure
|
runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Abe
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
mkdir -p $appsDir/Abe
|
mv $appsDir/Abe/abe $appsDir/Abe/Abe
|
||||||
cd src
|
|
||||||
cp abe $appsDir/Abe
|
|
||||||
cd $sourceDir
|
cd $sourceDir
|
||||||
cp -r maps savegame sounds images devcpp dist $appsDir/Abe
|
cp -r maps savegame sounds images devcpp dist $appsDir/Abe
|
||||||
addAppDeskbarSymlink $appsDir/Abe/abe
|
addAppDeskbarSymlink $appsDir/Abe/Abe Abe
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,3 +67,14 @@ index 2520856..a158796 100644
|
|||||||
|
|
||||||
// my laptop can't handle fullscreen for some reason
|
// my laptop can't handle fullscreen for some reason
|
||||||
#if defined(__APPLE__) || defined(__MACH_O__)
|
#if defined(__APPLE__) || defined(__MACH_O__)
|
||||||
|
--- abe-1.1/src/Main.c.org 2016-05-05 22:29:36.874774528 +0200
|
||||||
|
+++ abe-1.1/src/Main.c 2016-05-05 22:27:07.532414464 +0200
|
||||||
|
@@ -108,7 +108,7 @@
|
||||||
|
free(directory);
|
||||||
|
|
||||||
|
// my laptop can't handle fullscreen for some reason
|
||||||
|
-#if defined(__APPLE__) || defined(__MACH_O__)
|
||||||
|
+#if defined(__APPLE__) || defined(__MACH_O__) || defined(__HAIKU__)
|
||||||
|
mainstruct.full_screen = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user