mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Overhaul the haiku-apps directory
* Fixed PROVIDES/*REQUIRES entries * Added vcs hashes to the ports needing it in the SRC_URI * Made single executable apps install to the top level $appsDir * Added patches for gcc4 versions of most apps * Added patches for apps that couldn't build on any arch ( even though they were marked as working :( ) * Other misc fixes that I've forgotten already because I'm sick of looking at this directory
This commit is contained in:
@@ -1,48 +1,59 @@
|
||||
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"
|
||||
|
||||
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."
|
||||
COPYRIGHT="
|
||||
2001 Ben Loftis
|
||||
2013 Jeremy Friesner"
|
||||
|
||||
LICENSE="Public Domain"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/PhantomLimb"
|
||||
SRC_URI="git+git://github.com/HaikuArchives/PhantomLimb.git#5444867ac9"
|
||||
REVISION="2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
phantomlimb = $portVersion
|
||||
app:phantomlimb = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++
|
||||
cmd:xres
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
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
|
||||
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
|
||||
cd ..
|
||||
mimeset -f PhantomLimb
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd source
|
||||
mkdir -p $appsDir
|
||||
cp PhantomLimb $appsDir
|
||||
cp source/PhantomLimb $appsDir
|
||||
addAppDeskbarSymlink $appsDir/PhantomLimb
|
||||
cd ..
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user