diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-02 10:27:25 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-02 11:59:10 +0100 |
commit | 410f1e0c159f9468f4d335193f157b049bc8f87f (patch) | |
tree | c4fe916c0cc7ff932105cd883ee1e09ecfb2cdf2 /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 22.12.2 version bump (diff) | |
download | gentoo-410f1e0c159f9468f4d335193f157b049bc8f87f.tar.gz gentoo-410f1e0c159f9468f4d335193f157b049bc8f87f.tar.bz2 gentoo-410f1e0c159f9468f4d335193f157b049bc8f87f.zip |
kde-apps/ksystemlog: 22.12.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-22.12.2.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 4b9da69d06f6..c7fe5da6cc92 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-22.08.3.tar.xz 1970120 BLAKE2B 7bd1e815238fb8ec44080a557985a7bf857b749a4965ba1c91dd0985b2aacc1199afaadd5ce4bb736020ecc7d23582667520f0e79c97a2b570320aa560a16ed6 SHA512 f93e94a3024af9590c519f92f04f93e75ea28c51de2a4805005caaff7e1f7706ff0dd72c1912571e0c213540470afe5c95e8a1d6e53a5b85d656734786290b1c DIST ksystemlog-22.12.1.tar.xz 1997584 BLAKE2B 58d50a81ee656aa1cfc5aea589d0bebc3b727c38e620587681b07af89547a19e97ab23132ef3adf31278daa80435eb7dc11edb5b7faca6a7f6862a8bf006cf5c SHA512 04bf025fcc8e06451bebc91bd34a2610659451e970ffb40e5aa973e587103253b59729a1f4b2bce921ca9d4a6d977cab9a15ebfe5cbc5d324a1cd26b360ec972 +DIST ksystemlog-22.12.2.tar.xz 2002552 BLAKE2B 98cf7c8780940a012d0b9358f00765b9bacb6aaf3025a08735e04ef4b505207a4eace3d69997e2ecc80ffa6502e0d7f45f1d6f17a4b1f5e3a8b9172061de0792 SHA512 59d631dc79a9795b35f64599f034db16ab8e4b112b84a52feff65497843f3cc78c8c145602b204359840c0262512bbfacbb49c072deeaa56fd789a8da3b458bd diff --git a/kde-apps/ksystemlog/ksystemlog-22.12.2.ebuild b/kde-apps/ksystemlog/ksystemlog-22.12.2.ebuild new file mode 100644 index 000000000000..8aae28ad1925 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.12.2.ebuild @@ -0,0 +1,64 @@ +# 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.101.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." +} |