mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
nightandday: rename recipe, fix x86_64 build.
* use a safe source.
This commit is contained in:
53
haiku-apps/nightandday/nightandday-0.1.2.recipe
Normal file
53
haiku-apps/nightandday/nightandday-0.1.2.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="Automatic desktop color changer"
|
||||
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.
|
||||
"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/NightAndDay"
|
||||
COPYRIGHT="1998-1999 Jean-Baptiste M. Queru"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
srcGitRev="3bcc1a5a39dd1dab36bb7c5a299f10a50faeb2f2"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="cf82b2db20550534c63ec209df4debb8d4a7519dc3e320c208510e5c17617c44"
|
||||
SOURCE_DIR="NightAndDay-$srcGitRev"
|
||||
PATCHES="nightandday-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
nightanddays = $portVersion
|
||||
app:NightAndDay = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
g++ -o NightAndDay nd.cpp -fomit-frame-pointer -ffast-math -Wall -W -Wno-multichar -Werror -D PI=3.141592 -lbe
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp src/NightAndDay $appsDir
|
||||
mkdir -p $docDir
|
||||
cp ReadMe $docDir
|
||||
addAppDeskbarSymlink $appsDir/NightAndDay
|
||||
}
|
||||
Reference in New Issue
Block a user