summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-07 08:59:09 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-07 12:52:00 +0200
commitcf05ff6577b784f198465c2cd06083e8d4ed48a6 (patch)
treef2f97609360ddbd0e14e851283654cbdc227c1c9 /kde-apps/ksystemlog
parentkde-apps/kcron: 22.04.3 version bump (diff)
downloadgentoo-cf05ff6577b784f198465c2cd06083e8d4ed48a6.tar.gz
gentoo-cf05ff6577b784f198465c2cd06083e8d4ed48a6.tar.bz2
gentoo-cf05ff6577b784f198465c2cd06083e8d4ed48a6.zip
kde-apps/ksystemlog: 22.04.3 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-22.04.3.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 4317fccf920c..93ff8dfe04cf 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.2.tar.xz 1971576 BLAKE2B b8f817db5889ec5576a73cd3d1fa89f2c9db741b67eb94cadb6905ff4365d38affca81980d191ecce1efd66ef7caedfdef926188d1609c432f6983ee1527dc11 SHA512 6b62d0629246bc855b603fc8bf3b15333226e30a01ca843080caec583d2beb45647f8eacc920d836f630dabc657ad811ddc15f26a74341f6b71a722ace201804
+DIST ksystemlog-22.04.3.tar.xz 1969184 BLAKE2B c72ff850d28069d9a90a8cbe22a247c8574dedbfe5f0cb8429c14883ce59259fbc74f9ae3657f5a3c8bba56525c368bacbdc75f75da2ba36373fdfb39bc0803a SHA512 11eecd4da8870eb8a95bb61184a73f461ad977444dfd0c2f823bb10d982164be4a6621c37009e6f432109d91d976bd7ca7977ee90883234032e46f210defb54f
diff --git a/kde-apps/ksystemlog/ksystemlog-22.04.3.ebuild b/kde-apps/ksystemlog/ksystemlog-22.04.3.ebuild
new file mode 100644
index 000000000000..e3f498f47faa
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-22.04.3.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.4
+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."
+}