summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukáš Jirkovský2021-06-16 22:14:03 +0200
committerLukáš Jirkovský2021-06-16 22:14:03 +0200
commitf3a6b1bbce78b10ab3d9e63033d7cd2dfeefc7e4 (patch)
treed3495770b5347f1721a27549abb30b248a6a2e16
parent90d37a5a7ce076658468b4f6ff3f786702016fd3 (diff)
downloadaur-f3a6b1bbce78b10ab3d9e63033d7cd2dfeefc7e4.tar.gz
Change the dependencies to make GUI stuff optional.
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 00a094a1a90b..e891c4ad4149 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,11 @@ pkgdesc="A heap memory profiler"
arch=('i686' 'x86_64')
url="http://milianw.de/tag/heaptrack"
license=('APACHE')
-# dependencies with GUI enabled
-depends=('kdiagram' 'threadweaver' 'kitemmodels' 'kio' 'boost-libs')
-makedepends=('git' 'extra-cmake-modules' 'boost' 'sparsehash')
-# minimal dependencies
-#depends=('libunwind' 'boost-libs')
-#makedepends=('git' 'cmake' 'boost')
+depends=('libunwind' 'boost-libs' 'hicolor-icon-theme')
+optdepends=('kdiagram: GUI support - heaptrack_gui'
+ 'kio: GUI support - heaptrack_gui'
+ 'threadweaver: GUI support - heaptrack_gui')
+makedepends=('git' 'extra-cmake-modules' 'boost' 'sparsehash' 'kdiagram' 'threadweaver' 'kitemmodels' 'kio')
provides=('heaptrack')
conflicts=('heaptrack')
source=('heaptrack::git+https://invent.kde.org/sdk/heaptrack.git')