diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-12 12:55:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-10-12 15:19:02 +0200 |
commit | 83bc70cc21b4d50d6720f0cb142fa764079898ea (patch) | |
tree | bf5be199b87ad091c987b41a0e5c0d531f962ee6 /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 23.08.2 version bump (diff) | |
download | gentoo-83bc70cc21b4d50d6720f0cb142fa764079898ea.tar.gz gentoo-83bc70cc21b4d50d6720f0cb142fa764079898ea.tar.bz2 gentoo-83bc70cc21b4d50d6720f0cb142fa764079898ea.zip |
kde-apps/ksystemlog: 23.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-23.08.2.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 42f113613172..d55a775e22a3 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-23.04.3.tar.xz 2003260 BLAKE2B 61e2d8f8a468b6e1889e0b5a660a10dacfa46bfcfa81018397b753cd75a67d336d6ed505b77519b14c21f59aadf8b54e8afcceb8e1b3816a359a47316b28ffce SHA512 337a2d25d4e7b62d05738231dd1f454f98022b006b68bd8d80bbfb17fd0a75c3a5fcd147fc04235afeb7bc196a8a859f965b4411b80a8fc39169f6ca79026604 DIST ksystemlog-23.08.1.tar.xz 2004536 BLAKE2B 20c9329e5607bd6997b3f89a3d3c73e26010bc0e128354502450fbd16a9519173f0c73021af650e43debf15adb51f9f5f48c3d3bb7cb1f053794986431f9d3eb SHA512 c73fa2f66b0de7160dbea305ff6b94887ee6c22feae72bc195671ab171e19934e5110246a0f46cbe3c9f5332d5e1a91e88ae617027e5b6f1da68ede3d84529d1 +DIST ksystemlog-23.08.2.tar.xz 2007808 BLAKE2B 6cbde7eaabb988d53a38538b2d55aad930ae3824a5c372229f385aa3ef3b0df1031504f430851c86e62b6a6757b10bdda04533d9b3090b034857b517172d95ab SHA512 9750425e814438eeddbc9de87acb538beb6ef1a23eb20a8647313ec02f4177f46ff65b196b51d3a5e73ef643136e6e9c4cf7104c13c891f6892c0556ff6d3d58 diff --git a/kde-apps/ksystemlog/ksystemlog-23.08.2.ebuild b/kde-apps/ksystemlog/ksystemlog-23.08.2.ebuild new file mode 100644 index 000000000000..5d3801228ae8 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-23.08.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=5.106.0 +QTMIN=5.15.9 +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/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + audit? ( sys-process/audit ) + systemd? ( + >=dev-qt/qtnetwork-${QTMIN}:5 + 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 + use systemd || ecm_punt_qt_module Network +} + +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." +} |