From 02fdb1e1022d858e1875a1869e9eb95ff887bc04 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Mon, 25 Nov 2013 16:32:53 +0000 Subject: [PATCH] Added guitarmaster, recipe by GCI2013 student Luke --- .../guitarmaster/guitarmaster-r20.recipe | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 haiku-games/guitarmaster/guitarmaster-r20.recipe diff --git a/haiku-games/guitarmaster/guitarmaster-r20.recipe b/haiku-games/guitarmaster/guitarmaster-r20.recipe new file mode 100644 index 000000000..3c040777e --- /dev/null +++ b/haiku-games/guitarmaster/guitarmaster-r20.recipe @@ -0,0 +1,53 @@ +SUMMARY="A game of musical skill and fast fingers" +DESCRIPTION=" + Guitar Master is a Frets on Fire clone made for Haiku. It uses + low-resolution graphics in order to run on Haiku's software-GL. + + Usage: GuitarMaster [/path/to/songsDirectory] + " +HOMEPAGE="http://code.google.com/p/guitarmaster/" +SRC_URI="svn+http://guitarmaster.googlecode.com/svn/trunk/@20" +LICENSE="MIT" +COPYRIGHT="Toxic Labs 2008-2009" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + guitarmaster = $portVersion + app:guitarmaster = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES="" +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + " + +PATCHES=" + guitarmaster-r20.patch + " + +SRC_FILENAME="download" +SOURCE_DIR="$portName" + +BUILD() +{ + g++ -o GuitarMaster -lbe -lGL \ + main.cpp \ + TApp.cpp \ + TGameView.cpp \ + TGraphics.cpp \ + TMainWindow.cpp \ + TMidiReader.cpp +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a GuitarMaster $appsDir + addAppDeskbarSymlink $appsDir/GuitarMaster +}