Kobodeluxe: fix x86_gcc2 build (#4300)

Disable HIGHSCORE
This commit is contained in:
kenmays
2019-10-15 21:54:08 -07:00
committed by Jérôme Duval
parent aef616ad98
commit 78edf93431
3 changed files with 30 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
SUMMARY="An enhanced port of the scrolling video game XKobo"
DESCRIPTION="Kobo Deluxe is a 3'rd person scrolling 2D shooter with a \
DESCRIPTION="Kobo Deluxe is a 3rd person scrolling 2D shooter with a \
simple and responsive control system - which you'll need to tackle the \
tons of enemy ships that shoot at you, chase you, circle around you \
shooting, or even launch other ships at you, while you're trying to destroy\
@@ -9,13 +9,13 @@ require different tactics to be dealt with successfully."
HOMEPAGE="http://olofson.net/kobodl/"
COPYRIGHT="1995-2007 Akira Higuchi, David Olofson"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="http://olofson.net/kobodl/download/KoboDeluxe-$portVersion.tar.bz2"
CHECKSUM_SHA256="0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c"
SOURCE_DIR="KoboDeluxe-0.5.1"
PATCHES="kobodeluxe-$portVersion.patch"
SOURCE_DIR="KoboDeluxe-$portVersion"
PATCHES="kobodeluxe-$portVersion.patchset"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
kobodeluxe = $portVersion
@@ -37,14 +37,15 @@ BUILD_REQUIRES="
devel:libSDL_image
"
BUILD_PREREQUIRES="
cmd:automake
cmd:autoreconf
cmd:gcc
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize -fci
autoreconf -fi
./configure --prefix=$appsDir/KoboDeluxe
make $jobArgs
}

View File

@@ -1,14 +0,0 @@
--- KoboDeluxe-0.5.1/configure.org 2016-04-13 17:19:21.956039168 +0200
+++ KoboDeluxe-0.5.1/configure 2016-04-13 17:19:09.067108864 +0200
@@ -5044,6 +5044,11 @@
echo "${ECHO_T}BeOS; Un*x style install" >&6; }
MATHLIB=""
;;
+ haiku)
+ { echo "$as_me:$LINENO: result: HAIKU; Un*x style install" >&5
+echo "${ECHO_T}HAIKU; Un*x style install" >&6; }
+ MATHLIB=""
+ ;;
mingw32*)
{ echo "$as_me:$LINENO: result: Win32 (mingw32); Simple bundle" >&5
echo "${ECHO_T}Win32 (mingw32); Simple bundle" >&6; }

View File

@@ -0,0 +1,22 @@
From 70ba0cda0df28b6a5d070579449eefaa44ce23f2 Mon Sep 17 00:00:00 2001
From: Ken Mays <kmays2000@gmail.com>
Date: Fri, 11 Oct 2019 18:16:30 +0100
Subject: Disable HIGHSCORE
diff --git a/configure.in b/configure.in
index 8558e9c..a438366 100644
--- a/configure.in
+++ b/configure.in
@@ -31,7 +31,7 @@ dnl-------------------------------------------------------
AC_MSG_CHECKING(target platform and install style);
build_macosx_bundle=no
build_simple_bundle=no
-unix_scoredir=yes
+unix_scoredir=no
DATADIR='$(datadir)/kobo-deluxe'
SCOREDIR='$(sharedstatedir)/kobo-deluxe/scores'
CONFIGDIR='HOME>>'
--
2.23.0