From 5e14352c7bb22dc1541048d32cd5ab17b259918a Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 2 Sep 2021 12:39:43 +0200 Subject: kde-apps/ksystemlog: 21.08.1 version bump Signed-off-by: Andreas Sturmlechner --- kde-apps/ksystemlog/Manifest | 1 + kde-apps/ksystemlog/ksystemlog-21.08.1.ebuild | 64 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 kde-apps/ksystemlog/ksystemlog-21.08.1.ebuild (limited to 'kde-apps/ksystemlog') diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 6232cee62e47..5633425be026 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.0.tar.xz 1964092 BLAKE2B 6ed99444c7cf3af7d8b9a512c59898c7d1a867855807dc1ab279287a4b6a7f64ff593abe74c3fefff72ffcfa7a2626d56043c69a40f4e6fe72dd380813b1cbc3 SHA512 7c2a16dabc7bfbea3d0e9ae748b830cd67055c699bbc57912aa878b9b3e5d759fb3b0abcc292aec37815f243293ff829d5671bb43df4dc81127b80b8ad8a94c2 +DIST ksystemlog-21.08.1.tar.xz 1964320 BLAKE2B 4a99cb4818cc797942e226f380d10401a8e98b09e92a70d2405d449627cc116b44279cf955e64b5b6b5294c93481b6b68ec3b12e0864bbb5533ef04cc17e4ea2 SHA512 65c0b2a04c84d237f960bf0d7a2c0b1674f3ab3ec1d8b8a2b31e3db9a00e2f6df6e042e4f3b993081f483a2689b24ff5d7943cfab72dafb144d51cf68be995b4 diff --git a/kde-apps/ksystemlog/ksystemlog-21.08.1.ebuild b/kde-apps/ksystemlog/ksystemlog-21.08.1.ebuild new file mode 100644 index 000000000000..e23afa24cca4 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-21.08.1.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 ~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." +} -- cgit v1.2.3-65-gdbad