diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-18 15:15:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-20 13:29:35 +0200 |
commit | bdaa11f1caa9a786a812ae44d5707a1533f08093 (patch) | |
tree | 39eeff6cf96b6d08573006ff7188a82ffd6c0d2f /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 24.04.90 version bump (diff) | |
download | gentoo-bdaa11f1caa9a786a812ae44d5707a1533f08093.tar.gz gentoo-bdaa11f1caa9a786a812ae44d5707a1533f08093.tar.bz2 gentoo-bdaa11f1caa9a786a812ae44d5707a1533f08093.zip |
kde-apps/ksystemlog: 24.04.90 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-24.04.90.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index dd30934f03f3..5ad433530148 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-23.08.5.tar.xz 2014948 BLAKE2B 2d08528d7cb37b223c01bc509091b499c129e52cf90d893014f0a8ba564fc792f35131f67cca6465c59dff3f346e8ae5242ad6222850810af0ca532804f5f9e0 SHA512 8decb41ac919b3a7b67cc73f8e68d32c75b935072f14435939c373b84766a863c148572cf0d7e851f075e5ffe4ef8fddc85b70eaabeb29c16e8e3fa95b4ba584 DIST ksystemlog-24.02.2.tar.xz 2013680 BLAKE2B 7d57ff70369fe035d7de8786c3ce9be1f285a8b30d4c1e7faa58ac453eb59f1eb736e3680dfdffd6c62cded5ba76e9d3783c5454b0edf71d2af02ac4f6855e20 SHA512 f6aaf1ac7149ed141718132fa0c5971b230d07aceadc0eb20fb2ae4d2327ed0ec92431aabf1c85a6e42090cc420f268d6858fe642adf0d069cb43530263eb1e3 +DIST ksystemlog-24.04.90.tar.xz 1854900 BLAKE2B f08e3e1b63d6bcbf79399daea7448c8cbda9a95781ca3a7cc91ae3aac071e45fea0feca66232f9d646dd73eb467bab941aee0c097ee661d133b1b53128268aa6 SHA512 860f910c52c39bd7801cd75e589747b482484bfbf012424fc2cf8c27893f453dbf2668553447b5dc0ef324a9c04a5401f45e768d44ba93c366f39705b22955b5 diff --git a/kde-apps/ksystemlog/ksystemlog-24.04.90.ebuild b/kde-apps/ksystemlog/ksystemlog-24.04.90.ebuild new file mode 100644 index 000000000000..2d1a37cb1320 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-24.04.90.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=6.0.0 +QTMIN=6.6.2 +inherit ecm gear.kde.org + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://apps.kde.org/ksystemlog/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64" +IUSE="audit kdesu systemd" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kitemviews-${KFMIN}:6 + >=kde-frameworks/ktextwidgets-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + audit? ( sys-process/audit ) + systemd? ( + >=dev-qt/qtbase-${QTMIN}:6[network] + 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." +} |