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,3 +1,4 @@
SUMMARY="A system monitor for Haiku"
DESCRIPTION="It is an little application through which we can see some statistics about our system.
It currently only shows:
-CPU 0 usage
@@ -5,34 +6,40 @@ It currently only shows:
-Memory usage
-Boot disk used space
-Uptime"
SUMMARY="A system monitor for Haiku"
HOMEPAGE="https://github.com/disreali/SystemInfo"
SRC_URI="git+git://github.com/disreali/SystemInfo.git"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
SystemInfo = $portVersion
app:SystemInfo = $portVersion"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc"
REQUIRES="
haiku >= $haikuVersion"
COPYRIGHT="
2002 Brent Miszalski
2012 Disreali"
LICENSE="MIT"
HOMEPAGE="https://github.com/disreali/SystemInfo"
SRC_URI="git+git://github.com/disreali/SystemInfo.git#ae36df9999"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
SystemInfo = $portVersion
app:SystemInfo = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:xres
"
BUILD()
{
echo "const uint32 CP_CHANGE_BG = 'CPBG'; const uint32 CP_CHANGE_FG = 'CPFG';" > ./DigitalView.h
g++ CPUPercent.cpp ColourPrefs.cpp ImageView.cpp MemUsage.cpp SIReplicant.cpp main.cpp -o SystemInfo -lbe
xres -o SystemInfo SystemInfo.rsrc
mimeset -f SystemInfo
}
INSTALL()