summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-04 14:21:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-04 14:21:11 +0100
commit35df99133f492560947a09bc18161d875e08885b (patch)
tree58bdacdc1391e88117dc5e6817a9601ccebcf9bb /kde-apps/ksystemlog
parentkde-apps/kcron: 20.12.2 version bump (diff)
downloadgentoo-35df99133f492560947a09bc18161d875e08885b.tar.gz
gentoo-35df99133f492560947a09bc18161d875e08885b.tar.bz2
gentoo-35df99133f492560947a09bc18161d875e08885b.zip
kde-apps/ksystemlog: 20.12.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-20.12.2.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index c985787496f3..43c4b10d8d7c 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-20.08.3.tar.xz 1936020 BLAKE2B 3d1ab5dee63dabf2219705f9c24afd3f1cba9b4e2b43d7f0344fd2d64354bb32e39aeb142ef09266bfc4f7382e048c1f27c7ca560e310d3cb11c56f80e51279f SHA512 8b5d3e787e17470caa8df1b616fa944efc1216570acdfa8266c0a25921f90c6205ba4f2aeed42b1164c46e069a6a4607949b3a3c4d15531b8cf050eebceace0b
DIST ksystemlog-20.12.1.tar.xz 1936328 BLAKE2B ef9755bccc40c2b085801d740f1b6d4850e5b3d5256e081efdd65d88aaa0cec792e86cd4918258f63f68f92c101e17be6ad6765f6149a33ad63a25ee885c8aa1 SHA512 7553e680db665281d97cda10b0f82f15c3b01a7ab838dfcd53b3c161588e51cbb471416810262aa484f087379a0305a209bc3f1bb3387c3b0bd40dd179d10c7a
+DIST ksystemlog-20.12.2.tar.xz 1936320 BLAKE2B e6f405e53d3304e0c3171fa21ef1fd1aa2eb649aac7be07127a273d0451be447705138b9757695dc25604619f86b81adfa7bb2b559ca88e7b5d6c43c02407367 SHA512 7b2738697f668d6a47620db3f195cec1e2cac55ae982434783f525e20f4c4da13d3d3231a6967fa7c3896757f25d49966a3baa37696663d7a9461c99fe80127e
diff --git a/kde-apps/ksystemlog/ksystemlog-20.12.2.ebuild b/kde-apps/ksystemlog/ksystemlog-20.12.2.ebuild
new file mode 100644
index 000000000000..88c15e052cad
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-20.12.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.75.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://apps.kde.org/en/ksystemlog"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="kdesu systemd"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ systemd? ( sys-apps/systemd )
+"
+RDEPEND="${DEPEND}
+ kdesu? ( kde-plasma/kde-cli-tools[kdesu] )
+"
+
+src_prepare() {
+ ecm_src_prepare
+ if ! use kdesu; then
+ sed -e "/^X-KDE-SubstituteUID/s:true:false:" \
+ -i src/org.kde.ksystemlog.desktop || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package systemd Journald)
+ )
+ ecm_src_configure
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+ use kdesu || elog "Will show only user readable logs without USE=kdesu (only in X)."
+ use kdesu && elog "Cannot be launched from application menu in Wayland with USE=kdesu."
+}