summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-06-08 20:57:38 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-06-09 12:56:16 +0200
commitd2f16606e3e009c7d35872d2ccf01eab29ff86b1 (patch)
tree6750b16854282c4d8db13edc9794362701773467 /kde-apps
parentkde-apps/kcron: 22.04.2 version bump (diff)
downloadgentoo-d2f16606e3e009c7d35872d2ccf01eab29ff86b1.tar.gz
gentoo-d2f16606e3e009c7d35872d2ccf01eab29ff86b1.tar.bz2
gentoo-d2f16606e3e009c7d35872d2ccf01eab29ff86b1.zip
kde-apps/ksystemlog: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-22.04.2.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index f207dc5a1adc..e93af48d27f1 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-21.12.3.tar.xz 1967468 BLAKE2B 94b325c9e2dc39b1bd4b797f5763574461e93274e85b182ab4f2cf927d308a9a4dbb3f7e9685e59aa0a517fee883c744e354840af62ac5d11a2802938937e1c6 SHA512 238db6dac11b397f5d4fecbe0b40dd225d83c08f960a3ddcb2e2365dae302c01bb1012e8d123dcec895c17a5816879bfddf3e1942d01aabe6560bb9be65fe66c
DIST ksystemlog-22.04.1.tar.xz 1968356 BLAKE2B 4b8e69ce98567ae4819eb5acc433968384575473e3b2d845fd39b636cdbc7f1f47932b3973a867d1ab75af5ebd7c619163350056363c86a56f28d9dad972f775 SHA512 62f3fc2db4cc88287c2ec3cd641d25e973668d937511c757748729739252e4752230f73797b0b0750fd4a2733e2fe05a3e0da1e94b4e9e441bd89dd190ad4d02
+DIST ksystemlog-22.04.2.tar.xz 1971576 BLAKE2B b8f817db5889ec5576a73cd3d1fa89f2c9db741b67eb94cadb6905ff4365d38affca81980d191ecce1efd66ef7caedfdef926188d1609c432f6983ee1527dc11 SHA512 6b62d0629246bc855b603fc8bf3b15333226e30a01ca843080caec583d2beb45647f8eacc920d836f630dabc657ad811ddc15f26a74341f6b71a722ace201804
diff --git a/kde-apps/ksystemlog/ksystemlog-22.04.2.ebuild b/kde-apps/ksystemlog/ksystemlog-22.04.2.ebuild
new file mode 100644
index 000000000000..e5b81bb8bc2b
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-22.04.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+KFMIN=5.92.0
+QTMIN=5.15.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://apps.kde.org/ksystemlog/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="audit 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
+ audit? ( sys-process/audit )
+ 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 audit Audit)
+ $(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."
+}