From f019a919bf109460ee009a5f9210b99d0467db97 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Aug 2022 02:44:06 +0100 Subject: gentoo auto-resync : 23:08:2022 - 02:44:06 --- kde-apps/ksystemlog/Manifest | 2 + kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild | 64 +++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild (limited to 'kde-apps/ksystemlog') diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 42fae1a7d467..e2e04ba601a4 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-22.04.3.tar.xz 1969184 BLAKE2B c72ff850d28069d9a90a8cbe22a247c8574dedbfe5f0cb8429c14883ce59259fbc74f9ae3657f5a3c8bba56525c368bacbdc75f75da2ba36373fdfb39bc0803a SHA512 11eecd4da8870eb8a95bb61184a73f461ad977444dfd0c2f823bb10d982164be4a6621c37009e6f432109d91d976bd7ca7977ee90883234032e46f210defb54f +DIST ksystemlog-22.08.0.tar.xz 1969720 BLAKE2B f9bc4a5f6bf0ac31388d6cd86fb73ac299d15643621b7600a44a94a900a2f9edd28356e5bb77b12260861f54730e728d77b8b3d9f467e5277025f9656d914660 SHA512 0558ee35f0969971ad4d9d0317af6e76507f25a8c613268950e4860066e377dde747d98fa204a08bac2522b39802c2630571340858b93445892cd1e124d0c8b5 EBUILD ksystemlog-22.04.3.ebuild 1649 BLAKE2B c8c19ef9a7ed6f605198e1a72ed843b5f73237ddf81cb65e0a2ca958d6223ff47464442fd50ead57ef113d47c66eb7eb36fce4dd80eee0c759af64492057acc9 SHA512 68600e9a1e4aa756f6dff1fe9b739dcd3a66c68754b36786a345347d6beb62de1ce073b74087311484713e0107141d2ce36399491b3c8283e8d0a50a34200322 +EBUILD ksystemlog-22.08.0.ebuild 1652 BLAKE2B 454ae98e3ff9b5f6c8c1666e9bd4c3ab6e7eeabc2f42c1435eb044e2c7e080b6d2cbec604f8647e5fdf5cebfe8ad92e3cd237eb4512927c4c789064edcc27855 SHA512 2e7d36c41697e318858b2741c877610675f68a79da44a72dff5cb283290002033720232eb8d2f038646eae96aa7348e35d80bd7ecf4795e5b379becb4b4af105 MISC metadata.xml 426 BLAKE2B e441ed4b9e30f9cc4da23e5aee1ad8e799a6df18a4e5b5f623722ca8f6627eaf9df193249caa84cddd28823f69f093cb39dbd722275b764a2dfdbb3cbe7e27fd SHA512 1780c918ce9e47504a8627c3c544371f7492d8796615cd94e68459476c74fa474bc93ce678ca0261e246cea52935fd01879f6ebc786e1d355b762e460c0f0d07 diff --git a/kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild b/kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild new file mode 100644 index 000000000000..9ea6cb71bb44 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.08.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="forceoptional" +KFMIN=5.96.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." +} -- cgit v1.2.3