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:
Chris Roberts
2013-12-02 20:48:05 -07:00
parent 664e3c050d
commit 8a30e59744
38 changed files with 1381 additions and 643 deletions

View File

@@ -1,16 +1,11 @@
SUMMARY="A data acquisition Software"
DESCRIPTION="waveview"
SUMMARY="A simple audio wave viewer"
DESCRIPTION="simple audio wave viewer"
HOMEPAGE="https://github.com/aldeck/waveview"
LICENSE="
MIT
"
COPYRIGHT="
2011 Alexandre Deckner (alex@zappotek.com)
"
SRC_URI="git+https://github.com/aldeck/waveview"
REVISION="1"
ARCHITECTURES="x86_gcc2"
LICENSE="MIT"
COPYRIGHT="2011 Alexandre Deckner (alex@zappotek.com)"
SRC_URI="git+https://github.com/aldeck/waveview#fce091e76a"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
waveview = $portVersion
@@ -24,12 +19,12 @@ REQUIRES="
"
BUILD_REQUIRES="
devel:libpcre >= 1
devel:libpcreposix >= 1
haiku_devel >= $haikuVersion
devel:libpcre
devel:libpcreposix
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:bison
cmd:flex
@@ -44,20 +39,15 @@ REQUIRES="
haiku >= $haikuVersion
"
SOURCE_DIR="waveview-1.0"
BUILD()
{
pwd
ls /etc
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
waveviewDir=$appsDir/WaveView
mkdir -p $waveviewDir
cp -a objects.x86-gcc2-release/WaveView $waveviewDir
addAppDeskbarSymlink $waveviewDir/WaveView
mkdir -p $appsDir
cp -a objects/WaveView $appsDir
addAppDeskbarSymlink $appsDir/WaveView
}