diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 13:45:15 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 14:41:53 +0200 |
commit | 1fbf80c4e1854560984a79ae0c07da5954951c1b (patch) | |
tree | f888379ecdb3f0e2d7e2747f98a50328a6c4c581 /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 22.08.1 version bump (diff) | |
download | gentoo-1fbf80c4e1854560984a79ae0c07da5954951c1b.tar.gz gentoo-1fbf80c4e1854560984a79ae0c07da5954951c1b.tar.bz2 gentoo-1fbf80c4e1854560984a79ae0c07da5954951c1b.zip |
kde-apps/ksystemlog: 22.08.1 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-22.08.1.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 1f054c3e997c..7537af3f08bc 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-22.04.3.tar.xz 1969184 BLAKE2B c72ff850d28069d9a90a8cbe22a247c8574dedbfe5f0cb8429c14883ce59259fbc74f9ae3657f5a3c8bba56525c368bacbdc75f75da2ba36373fdfb39bc0803a SHA512 11eecd4da8870eb8a95bb61184a73f461ad977444dfd0c2f823bb10d982164be4a6621c37009e6f432109d91d976bd7ca7977ee90883234032e46f210defb54f DIST ksystemlog-22.08.0.tar.xz 1969720 BLAKE2B f9bc4a5f6bf0ac31388d6cd86fb73ac299d15643621b7600a44a94a900a2f9edd28356e5bb77b12260861f54730e728d77b8b3d9f467e5277025f9656d914660 SHA512 0558ee35f0969971ad4d9d0317af6e76507f25a8c613268950e4860066e377dde747d98fa204a08bac2522b39802c2630571340858b93445892cd1e124d0c8b5 +DIST ksystemlog-22.08.1.tar.xz 1969980 BLAKE2B a855990b7c64060bcce700d5cda9f9604f1e4c42937ac7eddb610497c9596a8f22f3ca81b96b92ff409f664817a8ef7fcf0785c66e77703822d059c1cb1cfcbe SHA512 a4dd645da571231b66f82a2553dcaf28831f98b06f49159e5b9d04487160a24842f34999e280afeaf3ada5969f4e01dea26f46badd2836ebb551fd6fc1110ef3 diff --git a/kde-apps/ksystemlog/ksystemlog-22.08.1.ebuild b/kde-apps/ksystemlog/ksystemlog-22.08.1.ebuild new file mode 100644 index 000000000000..9ea6cb71bb44 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.08.1.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." +} |