summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 13:57:04 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-07 18:28:05 +0100
commitf2882e0ed4997172e43b908e6defc13a18bb0830 (patch)
tree5013a0c207ef273576ff6cc61e7ac67dee5d3c3b /kde-apps/ksystemlog
parentkde-apps/kcron: 20.12.1 version bump (diff)
downloadgentoo-f2882e0ed4997172e43b908e6defc13a18bb0830.tar.gz
gentoo-f2882e0ed4997172e43b908e6defc13a18bb0830.tar.bz2
gentoo-f2882e0ed4997172e43b908e6defc13a18bb0830.zip
kde-apps/ksystemlog: 20.12.1 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.1.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index be289f08dfa6..5c767f6a88fb 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.0.tar.xz 1936384 BLAKE2B f1ee7e3a60b791b99076adcd884984995d1996d27d16a290102c72fe1c62f9420292dcb368eaac04aecb35fe80183c4b06fcb0943e9b5b9160fab9de2f7a94cc SHA512 78e9192199e18cd4d1bf17f83a166376af2299d51f3f1f0bc30c1986e6344ba81eaf92489626c3cfa7a2840721818185d79ca0858d1bd01aca87237603c9849c
+DIST ksystemlog-20.12.1.tar.xz 1936328 BLAKE2B ef9755bccc40c2b085801d740f1b6d4850e5b3d5256e081efdd65d88aaa0cec792e86cd4918258f63f68f92c101e17be6ad6765f6149a33ad63a25ee885c8aa1 SHA512 7553e680db665281d97cda10b0f82f15c3b01a7ab838dfcd53b3c161588e51cbb471416810262aa484f087379a0305a209bc3f1bb3387c3b0bd40dd179d10c7a
diff --git a/kde-apps/ksystemlog/ksystemlog-20.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-20.12.1.ebuild
new file mode 100644
index 000000000000..280a65187cdf
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-20.12.1.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.1
+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."
+}