dragonmemory, fix recipe, disable build (#3648)

This commit is contained in:
Schrijvers Luc
2019-02-25 17:11:49 +01:00
committed by GitHub
parent 0938c16e76
commit 323337672e
2 changed files with 47 additions and 22 deletions

View File

@@ -1,43 +1,42 @@
SUMMARY="A memory game with addictive gameplay"
DESCRIPTION="
Dragon Memory is a simple but fun memory game with very detailed graphics and \
addictive gameplay.
"
DESCRIPTION="Dragon Memory is a simple but fun memory game with very detailed \
graphics and addictive gameplay."
HOMEPAGE="https://sourceforge.net/projects/dragonmemory/"
COPYRIGHT="2011 Santiago Radeff Leria http://www.dragontech.net/"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="http://cznic.dl.sourceforge.net/project/dragonmemory/DragonMemory-source.tgz
http://heanet.dl.sourceforge.net/project/dragonmemory/DragonMemory-source.tgz"
REVISION="3"
SOURCE_URI="https://sf.net/projects/dragonmemory/files/DragonMemory-source.tgz"
CHECKSUM_SHA256="e0d7ff168cc7a5e01247e4c290346bf26a8423e0fc7b7b3047f437451c8f37b5"
SOURCE_FILENAME="DragonMemory-1-source.tgz"
SOURCE_DIR="DragonMemory"
PATCHES="dragonmemory-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
ARCHITECTURES="?x86_gcc2 !x86 !x86_64"
PROVIDES="
dragonmemory = $portVersion
app:dragonmemory = $portVersion"
app:dragonmemory = $portVersion
"
REQUIRES="
lib:libglu
lib:libsdl
lib:libsdl_image
lib:libsdl_mixer
haiku
lib:libGL
lib:libSDL
lib:libSDL_image
lib:libSDL_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libglu
devel:libsdl
devel:libsdl_image
devel:libsdl_mixer
devel:libGL
devel:libSDL
devel:libSDL_image
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:make
cmd:mkdepend"
cmd:mkdepend
"
BUILD()
{
@@ -48,5 +47,5 @@ INSTALL()
{
mkdir -p $appsDir/DragonMemory
cp -R dragonmemory gfx fonts music themes sounds $appsDir/DragonMemory
addAppDeskbarSymlink $appsDir/DragonMemory/dragonmemory
addAppDeskbarSymlink $appsDir/DragonMemory/dragonmemory DragonMemory
}

View File

@@ -1,4 +1,4 @@
From cc7023a6b32c9741929529fe1bf779a3201d7452 Mon Sep 17 00:00:00 2001
From 4ae6817669ec275f1f41b71731f3855011f8b4ce Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Thu, 25 Sep 2014 10:49:04 +0200
Subject: Fix path issues.
@@ -92,5 +92,31 @@ index fdac20a..31369ae 100644
maxSavedLevel = fgetc(scores);
if(levelNumber + 1 > maxSavedLevel)
--
1.8.3.4
2.19.1
From 292a663a01b679cece83abf94504f881ac2f8171 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Mon, 18 Feb 2019 20:05:32 +0100
Subject: No need for -lGlu, fix make clean
diff --git a/Makefile b/Makefile
index b1f9034..207856c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC = gcc -Wall -Wno-multichar
all:
- $(CC) dragonmemory.cpp -o dragonmemory -lGL -lGLU -lSDL_image -lSDL_mixer `sdl-config --cflags --libs` -lbe
+ $(CC) dragonmemory.cpp -o dragonmemory -lGL -lSDL_image -lSDL_mixer `sdl-config --cflags --libs` -lbe
clean:
@echo Cleaning up...
- @rm dragon
+ @rm dragonmemory
@echo Done.
--
2.19.1