summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/sys-analyzer/kcollectd/files/gcc9-build-fix.patch12
-rw-r--r--packages/sys-analyzer/kcollectd/kcollectd-scm.exheres-07
-rw-r--r--packages/sys-analyzer/kcollectd/kcollectd.exlib31
3 files changed, 50 insertions, 0 deletions
diff --git a/packages/sys-analyzer/kcollectd/files/gcc9-build-fix.patch b/packages/sys-analyzer/kcollectd/files/gcc9-build-fix.patch
new file mode 100644
index 0000000..993ebc6
--- /dev/null
+++ b/packages/sys-analyzer/kcollectd/files/gcc9-build-fix.patch
@@ -0,0 +1,12 @@
+diff --git a/kcollectd/gui.cc b/kcollectd/gui.cc
+index 8baabb8..a344f47 100644
+--- a/kcollectd/gui.cc
++++ b/kcollectd/gui.cc
+@@ -21,6 +21,7 @@
+ #include <iostream>
+ #include <set>
+ #include <sstream>
++#include <stack>
+
+ #include <boost/filesystem.hpp>
+
diff --git a/packages/sys-analyzer/kcollectd/kcollectd-scm.exheres-0 b/packages/sys-analyzer/kcollectd/kcollectd-scm.exheres-0
new file mode 100644
index 0000000..44cd5b1
--- /dev/null
+++ b/packages/sys-analyzer/kcollectd/kcollectd-scm.exheres-0
@@ -0,0 +1,7 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require kcollectd
+
+PLATFORMS="~amd64 ~x86"
+
diff --git a/packages/sys-analyzer/kcollectd/kcollectd.exlib b/packages/sys-analyzer/kcollectd/kcollectd.exlib
new file mode 100644
index 0000000..45d1e44
--- /dev/null
+++ b/packages/sys-analyzer/kcollectd/kcollectd.exlib
@@ -0,0 +1,31 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+SCM_REPOSITORY="https://gitlab.com/aerusso/kcollectd.git"
+require scm-git
+require cmake [ api=2 ]
+
+SUMMARY="kcollectd is a graphical front-end to collectd."
+LICENCES="GPL-3"
+SLOT="0"
+
+DEPENDENCIES="
+ build+run:
+ dev-libs/boost
+ kde-frameworks/kconfig
+ kde-frameworks/kdoctools
+ kde-frameworks/kguiaddons
+ kde-frameworks/ki18n
+ kde-frameworks/kxmlgui
+ kde-frameworks/kiconthemes
+ kde-frameworks/kwidgetsaddons
+ kde-frameworks/kio
+ x11-libs/qtbase[gui]
+ run:
+ net-analyzer/rrdtool
+"
+
+DEFAULT_SRC_PREPARE_PATCHES=(
+ "${FILES}"/gcc9-build-fix.patch
+)
+