From d84bb705785b032d4dcb383c9cdc108cf0f4dca3 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Mon, 25 Nov 2013 10:08:11 +0000 Subject: [PATCH] Added nightandday, recipe by GCI2013 student Adrian Jelen --- .../nightandday/nightsandday-0.1.2.recipe | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 haiku-apps/nightandday/nightsandday-0.1.2.recipe diff --git a/haiku-apps/nightandday/nightsandday-0.1.2.recipe b/haiku-apps/nightandday/nightsandday-0.1.2.recipe new file mode 100644 index 000000000..0cb397820 --- /dev/null +++ b/haiku-apps/nightandday/nightsandday-0.1.2.recipe @@ -0,0 +1,41 @@ +DESCRIPTION="This program was inspired by the 'TaveDesktop' program by the Tave Software Group. I think that 'TaveDesktop' was a good idea, but I wanted to be able to choose my own colors, since the 'TaveDesktop' colors looks bad on an 8bpp display. +This program should be self-explanatory. You'll find a small Popup menu when clicking the small screen at the top-right corner of the window." +SUMMARY="Automatic desktop color changer" +HOMEPAGE="https://github.com/HaikuArchives/NightAndDay" +SRC_URI="git+git://github.com/HaikuArchives/NightAndDay.git" +REVISION="1" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + nightanddays = $portVersion + app:nightanddays = $portVersion" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:ld" + +REQUIRES=" + haiku >= $haikuVersion" + +COPYRIGHT="1998-1999 Jean-Baptiste M. Queru" + +LICENSE="GNU GPL v2" + +SOURCE_DIR="src" + +BUILD() +{ + cd src + g++ -o NightAndDay nd.cpp -fno-pic -fomit-frame-pointer -ffast-math -Wall -W -Wno-multichar -Werror -D PI=3.141592 -lbe +} + +INSTALL() +{ + NDDir=$appsDir/NightAndDay + mkdir -p $NDDir + cp src/NightAndDay $NDDir/NightAndDay + cp ReadMe $NDDir/ReadMe + addAppDeskbarSymlink $NDDir/NightAndDay +}