mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
* openimageio Re-ordering blocks Adding formerly unreferenced patchset. Doesn't build anyway. * ordereddict Removed "." from SUMMARY Re-ordering blocks * oricutron Removed "." from SUMMARY Still a non-building BEP file * orphilia_dropbox Removed "." from SUMMARY Re-ordering blocks * pachi Removed "(C)" from COPYRIGHT Re-ordering blocks * pari Removed "." from SUMMARY Re-ordering blocks * pciutils Improved DESCRIPTION Re-ordering blocks * phantomlimb Improved SUMMARY Re-ordering blocks * photograbber Removed "." from SUMMARY Re-ordering blocks * piozone Improved DESCRIPTION Re-ordering blocks * plee_the_bear Removed "." and improved SUMMARY Re-ordering blocks * postgresql_server Removed "." from SUMMARY Re-ordering blocks * privoxy Removed "." and improved SUMMARY Re-ordering blocks * proj-4 Removed "." and improved SUMMARY Re-ordering blocks Changed the SOURCE_URI to the github where they moved Added $secondaryArchSuffix to the provided cmd * protobuf Re-ordering blocks Updating and referencing patch Removed out-of-date patch.
55 lines
1.7 KiB
Bash
55 lines
1.7 KiB
Bash
SUMMARY="Generate tones and test your discrimination of frequency deltas"
|
|
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."
|
|
HOMEPAGE="https://github.com/HaikuArchives/PhantomLimb"
|
|
COPYRIGHT="2001 Ben Loftis
|
|
2013 Jeremy Friesner"
|
|
LICENSE="Public Domain"
|
|
REVISION="2"
|
|
SOURCE_URI="git+git://github.com/HaikuArchives/PhantomLimb.git#5444867ac9"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
phantomlimb = $portVersion
|
|
app:PhantomLimb = $portVersion
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++
|
|
cmd:xres
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
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
|
|
g++ -o PhantomLimb PhantomApp.o PhantomWindow.o PhantomPlayer.o PhantomView.o LRUEntry.o -lbe -lmedia
|
|
xres -o PhantomLimb Phantom.rsrc
|
|
mimeset -f PhantomLimb
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp source/PhantomLimb $appsDir
|
|
addAppDeskbarSymlink $appsDir/PhantomLimb
|
|
}
|