summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 20:22:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 22:10:27 +0200
commitb66ea61e1a8cc6bc622340c3aa09e69f1743f31b (patch)
treed5eb466dd989be4250420f019dd9d1481a1f4995 /kde-apps/ksystemlog
parentkde-apps/kcron: 22.08.0 version bump (diff)
downloadgentoo-b66ea61e1a8cc6bc622340c3aa09e69f1743f31b.tar.gz
gentoo-b66ea61e1a8cc6bc622340c3aa09e69f1743f31b.tar.bz2
gentoo-b66ea61e1a8cc6bc622340c3aa09e69f1743f31b.zip
kde-apps/ksystemlog: 22.08.0 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.08.0.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 19fa7966ef0f..1f054c3e997c 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1 +1,2 @@
DIST ksystemlog-22.04.3.tar.xz 1969184 BLAKE2B c72ff850d28069d9a90a8cbe22a247c8574dedbfe5f0cb8429c14883ce59259fbc74f9ae3657f5a3c8bba56525c368bacbdc75f75da2ba36373fdfb39bc0803a SHA512 11eecd4da8870eb8a95bb61184a73f461ad977444dfd0c2f823bb10d982164be4a6621c37009e6f432109d91d976bd7ca7977ee90883234032e46f210defb54f
+DIST ksystemlog-22.08.0.tar.xz 1969720 BLAKE2B f9bc4a5f6bf0ac31388d6cd86fb73ac299d15643621b7600a44a94a900a2f9edd28356e5bb77b12260861f54730e728d77b8b3d9f467e5277025f9656d914660 SHA512 0558ee35f0969971ad4d9d0317af6e76507f25a8c613268950e4860066e377dde747d98fa204a08bac2522b39802c2630571340858b93445892cd1e124d0c8b5
diff --git a/kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild b/kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild
new file mode 100644
index 000000000000..9ea6cb71bb44
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-22.08.0.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.96.0
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+inherit ecm gear.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."
+}