From e2159683395517b6a6b04362f88d85744b258706 Mon Sep 17 00:00:00 2001 From: Begasus Date: Fri, 6 May 2016 12:37:58 +0200 Subject: [PATCH] abe, updated recipe, no fullscreen on startup --- games-kids/abe/abe-1.1.recipe | 19 ++++++------------- games-kids/abe/patches/abe-1.1.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/games-kids/abe/abe-1.1.recipe b/games-kids/abe/abe-1.1.recipe index 527e794f0..6715f0e48 100644 --- a/games-kids/abe/abe-1.1.recipe +++ b/games-kids/abe/abe-1.1.recipe @@ -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. \ It's a worthwhile adventure, no doubt. Find treasures as you go! \ In addition, this game also comes with a Map Editor." HOMEPAGE="http://abe.sourceforge.net/" COPYRIGHT="2001-2013 Gabor Torok" 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" CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7" SOURCE_DIR="abe-1.1" @@ -14,7 +14,7 @@ PATCHES="abe-1.1.patch" ARCHITECTURES="x86 x86_gcc2" PROVIDES=" - Abe= $portVersion + abe= $portVersion app:Abe= $portVersion " REQUIRES=" @@ -37,28 +37,21 @@ BUILD_PREREQUIRES=" cmd:autoconf " -PATCH() -{ - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in -} - BUILD() { libtoolize --force --copy --install aclocal -I $sourceDir autoconf ./autogen.sh - runConfigure ./configure + runConfigure --omit-dirs binDir ./configure --bindir=$appsDir/Abe make $jobArgs } INSTALL() { make install - mkdir -p $appsDir/Abe - cd src - cp abe $appsDir/Abe + mv $appsDir/Abe/abe $appsDir/Abe/Abe cd $sourceDir cp -r maps savegame sounds images devcpp dist $appsDir/Abe - addAppDeskbarSymlink $appsDir/Abe/abe + addAppDeskbarSymlink $appsDir/Abe/Abe Abe } diff --git a/games-kids/abe/patches/abe-1.1.patch b/games-kids/abe/patches/abe-1.1.patch index cdb203f51..6a91518c0 100644 --- a/games-kids/abe/patches/abe-1.1.patch +++ b/games-kids/abe/patches/abe-1.1.patch @@ -67,3 +67,14 @@ index 2520856..a158796 100644 // my laptop can't handle fullscreen for some reason #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 +