diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-10-07 20:49:54 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-10-07 21:55:44 +0200 |
commit | b3cc04dec34b193591cc12b784e412357968f0de (patch) | |
tree | 3d757d685f0d58d8f28452f0d7fbad1879698dc3 /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 21.08.2 version bump (diff) | |
download | gentoo-b3cc04dec34b193591cc12b784e412357968f0de.tar.gz gentoo-b3cc04dec34b193591cc12b784e412357968f0de.tar.bz2 gentoo-b3cc04dec34b193591cc12b784e412357968f0de.zip |
kde-apps/ksystemlog: 21.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-21.08.2.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 5c4c7b842296..2085c9b581e8 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-21.04.3.tar.xz 1958088 BLAKE2B 67a9be05e3525ca65be0eb10cd4bb1e1992eda8f55b487f64ef43691848c6a20ceb32be9585992dacea7cf41b8ef7c46d9ab25bcb20503e49c68eabf4d4f68c0 SHA512 c0af661b2898fbcb4cb81b46906bd09df86bebf3759a493d435b489500ee65b035207339340beec372e416485389ee093fd9187ab9c5f35cc71e1d94f31add2b DIST ksystemlog-21.08.1.tar.xz 1964320 BLAKE2B 4a99cb4818cc797942e226f380d10401a8e98b09e92a70d2405d449627cc116b44279cf955e64b5b6b5294c93481b6b68ec3b12e0864bbb5533ef04cc17e4ea2 SHA512 65c0b2a04c84d237f960bf0d7a2c0b1674f3ab3ec1d8b8a2b31e3db9a00e2f6df6e042e4f3b993081f483a2689b24ff5d7943cfab72dafb144d51cf68be995b4 +DIST ksystemlog-21.08.2.tar.xz 1964212 BLAKE2B 15542ac06c1351830c89585dd908abd61934ac17603f234086f020fd515cae7b82d31853b1cfd9bc8a26a2f9efc044ac38b6b50ce908497890d5893c9caaafc7 SHA512 7e7ba13ac1d00db66a2b3e5ec68a64962526b5a2acc88b439c5da59fede7687dcdafd9494f4f1ae1a9501770c888ce466d5bbb3dd42601aabf14c9a5f62559f9 diff --git a/kde-apps/ksystemlog/ksystemlog-21.08.2.ebuild b/kde-apps/ksystemlog/ksystemlog-21.08.2.ebuild new file mode 100644 index 000000000000..7e5ce2433ee4 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-21.08.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.84.0 +QTMIN=5.15.2 +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." +} |