diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-12-12 15:17:18 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-12-12 18:57:03 +0100 |
commit | 68490f09535dae736d4daf77dccc614586ba026d (patch) | |
tree | 081e7a5c65b773887e13e783b5f74dd7347fbb3c /kde-apps/ksystemlog | |
parent | kde-apps/kcron: 20.12.0 version bump (diff) | |
download | gentoo-68490f09535dae736d4daf77dccc614586ba026d.tar.gz gentoo-68490f09535dae736d4daf77dccc614586ba026d.tar.bz2 gentoo-68490f09535dae736d4daf77dccc614586ba026d.zip |
kde-apps/ksystemlog: 20.12.0 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-20.12.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index dd90490e096a..be289f08dfa6 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1 +1,2 @@ DIST ksystemlog-20.08.3.tar.xz 1936020 BLAKE2B 3d1ab5dee63dabf2219705f9c24afd3f1cba9b4e2b43d7f0344fd2d64354bb32e39aeb142ef09266bfc4f7382e048c1f27c7ca560e310d3cb11c56f80e51279f SHA512 8b5d3e787e17470caa8df1b616fa944efc1216570acdfa8266c0a25921f90c6205ba4f2aeed42b1164c46e069a6a4607949b3a3c4d15531b8cf050eebceace0b +DIST ksystemlog-20.12.0.tar.xz 1936384 BLAKE2B f1ee7e3a60b791b99076adcd884984995d1996d27d16a290102c72fe1c62f9420292dcb368eaac04aecb35fe80183c4b06fcb0943e9b5b9160fab9de2f7a94cc SHA512 78e9192199e18cd4d1bf17f83a166376af2299d51f3f1f0bc30c1986e6344ba81eaf92489626c3cfa7a2840721818185d79ca0858d1bd01aca87237603c9849c diff --git a/kde-apps/ksystemlog/ksystemlog-20.12.0.ebuild b/kde-apps/ksystemlog/ksystemlog-20.12.0.ebuild new file mode 100644 index 000000000000..a1e4cfa3b5aa --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-20.12.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.75.0 +QTMIN=5.15.1 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://apps.kde.org/en/ksystemlog" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="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 + 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 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." +} |