diff --git a/games-kids/dragonmemory/dragonmemory-1.recipe b/games-kids/dragonmemory/dragonmemory-1.recipe index 8a731c2d0..ca0c380ec 100644 --- a/games-kids/dragonmemory/dragonmemory-1.recipe +++ b/games-kids/dragonmemory/dragonmemory-1.recipe @@ -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 } diff --git a/games-kids/dragonmemory/patches/dragonmemory-1.patchset b/games-kids/dragonmemory/patches/dragonmemory-1.patchset index 5bd0a6022..d292d7bab 100644 --- a/games-kids/dragonmemory/patches/dragonmemory-1.patchset +++ b/games-kids/dragonmemory/patches/dragonmemory-1.patchset @@ -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 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 +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