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,43 +1,54 @@
SUMMARY="An application that monitors Tracker queries."
DESCRIPTION="This is a tiny little GUI application that monitors any regular Tracker queries and displays miniature indicator lights for the presence of results."
DESCRIPTION="
This is a tiny little GUI application that monitors any regular
Tracker queries and displays miniature indicator lights for the
presence of results."
HOMEPAGE="https://github.com/HaikuArchives/QueryWatcher"
SRC_URI="git://github.com/HaikuArchives/QueryWatcher.git"
SRC_URI="git://github.com/HaikuArchives/QueryWatcher.git#64b66ee9e9"
LICENSE="Public Domain"
COPYRIGHT="
2003-2004 Michael Armida
2004 Mikael Eiman
2004 Michael Davidson
"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="app:QueryWatcher = $portVersion"
PROVIDES="
QueryWatcher = $portVersion
app:QueryWatcher = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES=""
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
SOURCE_DIR="src/src"
PATCHES="querywatcher-1.4.patchset"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
cd src
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $appsDir /QueryWatcher
cp -a objects.x86-gcc2-release/QueryWatcher $appsDir/QueryWatcher
mkdir -p $appsDir
cp -a src/objects/QueryWatcher $appsDir
addAppDeskbarSymlink $appsDir/QueryWatcher
mkdir -p $docDir
cp README $docDir
}