mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Added PhantomLimb, recipe by GCI2013 student Adrian Jelen
This commit is contained in:
48
haiku-apps/phantomlimb/phantomlimb-1.recipe
Normal file
48
haiku-apps/phantomlimb/phantomlimb-1.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
DESCRIPTION="PhantomLimb is a little program to generate tones, and test your discrimination of frequency deltas. I wrote it for a friend of mine who is suffering from tinnitus ('ringing in the ears') due to an ear infection. (the infection destroyed some nerve cells in his inner ear, and the lack of signals from the destroyed nerve cells is what causes the ringing--similar to the 'phantom limb' sensations experienced by amputees. Hence the name of this program) By practicing discriminating between the sound of the tinnitus and 'nearby' sounds, he hopes to be able to train his brain to discriminate between the 'phantom' sound and other, real sounds."
|
||||
|
||||
SUMMARY="PhantomLimb is a little program to generate tones, and test your discrimination of frequency deltas."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/PhantomLimb"
|
||||
SRC_URI="git+git://github.com/HaikuArchives/PhantomLimb.git"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
phantomlimb = $portVersion
|
||||
app:phantomlimb = $portVersion"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:g++
|
||||
cmd:xres"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion"
|
||||
|
||||
COPYRIGHT="
|
||||
2001 Ben Loftis
|
||||
2013 Jeremy Friesner"
|
||||
|
||||
LICENSE="Public Domain"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd source
|
||||
gcc -c -o PhantomApp.o PhantomApp.cpp
|
||||
gcc -c -o PhantomWindow.o PhantomWindow.cpp
|
||||
gcc -c -o PhantomPlayer.o PhantomPlayer.cpp -D PI=3.141592
|
||||
gcc -c -o PhantomView.o PhantomView.cpp
|
||||
gcc -c -o LRUEntry.o LRUEntry.cpp
|
||||
gcc -o PhantomLimb PhantomApp.o PhantomWindow.o PhantomPlayer.o PhantomView.o LRUEntry.o -lbe -lmedia
|
||||
xres -o PhantomLimb Phantom.rsrc
|
||||
cd ..
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd source
|
||||
mkdir -p $appsDir
|
||||
cp PhantomLimb $appsDir
|
||||
addAppDeskbarSymlink $appsDir/PhantomLimb
|
||||
cd ..
|
||||
}
|
||||
Reference in New Issue
Block a user