0
0
Fork 0
haikuports/sys-apps/qdirstat/qdirstat-1.4.recipe

65 lines
1.9 KiB
Bash
Raw Permalink Normal View History

2017-03-01 06:57:42 +00:00
SUMMARY="A cross-platform graphical disk usage utility"
DESCRIPTION="QDirStat is a graphical application to show \
where your disk space has gone and to help you clean it up. \
QDirStat is the Qt-only port of the old Qt3/KDE3-based KDirStat now \
based on the latest Qt5. It runs on every X11-based desktop on \
Linux, BSD, and other Unix-like systems. \
QDirStat has a number of new features compared to KDirStat: \
* Multi-selection in both the tree and the treemap.
* Unlimited number of user-defined cleanup actions.
* Properly show errors of cleanup actions.
* File categories and their treemap color are now configurable.
* Exclude rules for directories are easily configurable.
* Cross-Platform; independent on KDE or any other specific toolkit.
"
HOMEPAGE="https://github.com/shundhammer/qdirstat"
COPYRIGHT="2015, 2017 Stefan Hundhammer"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/shundhammer/qdirstat/archive/$portVersion.tar.gz"
2017-10-31 13:10:52 +00:00
CHECKSUM_SHA256="7f9a0a7304c55ebfad1e50c7747ba762b07068f48304b3d3919bdb65ee037999"
2017-03-01 06:57:42 +00:00
PATCHES="qdirstat-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2 ?x86"
2017-10-31 13:10:52 +00:00
SECONDARY_ARCHITECTURES="?x86"
2017-03-01 06:57:42 +00:00
PROVIDES="
qdirstat$secondaryArchSuffix = $portVersion
2017-10-31 13:10:52 +00:00
app:QDirStat = $portVersion
2017-03-01 06:57:42 +00:00
"
REQUIRES="
haiku$secondaryArchSuffix
2017-10-31 13:10:52 +00:00
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
2017-03-01 06:57:42 +00:00
lib:libz$secondaryArchSuffix
"
2017-10-31 13:10:52 +00:00
2017-03-01 06:57:42 +00:00
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2017-10-31 13:10:52 +00:00
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
2017-03-01 06:57:42 +00:00
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
2017-10-31 13:10:52 +00:00
cmd:g++$secondaryArchSuffix
2017-03-01 06:57:42 +00:00
cmd:ld$secondaryArchSuffix
cmd:make
2018-08-10 06:17:02 +00:00
cmd:qmake$secondaryArchSuffix >= 5
2017-03-01 06:57:42 +00:00
"
2017-10-31 13:10:52 +00:00
2017-03-01 06:57:42 +00:00
BUILD()
{
qmake .
make $jobArgs
}
2017-10-31 13:10:52 +00:00
2017-03-01 06:57:42 +00:00
INSTALL()
{
mkdir -p $appsDir
cp src/qdirstat $appsDir/QDirStat
addAppDeskbarSymlink $appsDir/QDirStat
}