From b15e9432673f95ceb5084f67cc431e8c94653dec Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Sat, 28 Dec 2013 14:21:37 +0100 Subject: [PATCH] Added cleaned recipe for neverball --- games-puzzle/neverball/neverball-1.5.4.recipe | 72 +++++++++++++++++++ .../neverball/patches/neverball-1.5.4.patch | 13 ++++ 2 files changed, 85 insertions(+) create mode 100644 games-puzzle/neverball/neverball-1.5.4.recipe create mode 100644 games-puzzle/neverball/patches/neverball-1.5.4.patch diff --git a/games-puzzle/neverball/neverball-1.5.4.recipe b/games-puzzle/neverball/neverball-1.5.4.recipe new file mode 100644 index 000000000..0320cce4a --- /dev/null +++ b/games-puzzle/neverball/neverball-1.5.4.recipe @@ -0,0 +1,72 @@ +DESCRIPTION=" + Neverball is part puzzle game, part action game, and entirely a test + of skill. Tilt the floor to roll a ball through an obstacle course + before time runs out. + " +SUMMARY="Tilt the floor to roll a ball through an course before time runs out." +HOMEPAGE="http://neverball.org" +COPYRIGHT="2002-2010 The Neverball Team" +LICENSE="GNU GPL v2" +SRC_URI="http://neverball.org/neverball-1.5.4.tar.gz" +CHECKSUM_MD5="c523b0f72c2035831310e821162f7bd7" +REVISION="1" +ARCHITECTURES="x86 ?x86_64" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +else + ARCHITECTURES="$ARCHITECTURES !x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" +PATCHES="neverball-1.5.4.patch" + +PROVIDES=" + neverball$secondaryArchSuffix = $portVersion + app:neverball$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libphysfs$secondaryArchSuffix + lib:libsdl$secondaryArchSuffix + lib:libsdl_mixer$secondaryArchSuffix + lib:libsdl_ttf$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + + lib:libpng$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libphysfs$secondaryArchSuffix + devel:libsdl$secondaryArchSuffix + devel:libsdl_mixer$secondaryArchSuffix + devel:libsdl_ttf$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + + devel:libpng$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + gettext$secondaryArchSuffix # it's needed + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:libpng_config$secondaryArchSuffix + " + +BUILD() +{ + make +} + +INSTALL() +{ + mkdir -p $appsDir/neverball + cp -rf neverball neverputt mapc README COPYING CHANGES data $appsDir/neverball + addAppDeskbarSymlink $appsDir/neverball/neverball +} diff --git a/games-puzzle/neverball/patches/neverball-1.5.4.patch b/games-puzzle/neverball/patches/neverball-1.5.4.patch new file mode 100644 index 000000000..60a118e94 --- /dev/null +++ b/games-puzzle/neverball/patches/neverball-1.5.4.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index a22fed1..e095a3a 100644 +--- a/Makefile ++++ b/Makefile +@@ -111,7 +111,7 @@ ifeq ($(ENABLE_WII),1) + TILT_LIBS := -lcwiimote -lbluetooth + endif + +-OGL_LIBS := -lGL -lm ++OGL_LIBS := -lGL -lintl + + ifdef MINGW + ifneq ($(ENABLE_NLS),0)