Added nightandday, recipe by GCI2013 student Adrian Jelen

This commit is contained in:
Scott McCreary
2013-11-25 10:08:11 +00:00
parent 6a7315cdd2
commit d84bb70578

View File

@@ -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
}