summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 12:14:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 14:49:52 +0100
commitb833b3aa08aff3333f6ccf95fcbcf035f815a495 (patch)
treee953e4de5d2050598e670de5c32bd54780ca2088 /kde-apps
parentkde-apps/kcron: 21.12.1 version bump (diff)
downloadgentoo-b833b3aa08aff3333f6ccf95fcbcf035f815a495.tar.gz
gentoo-b833b3aa08aff3333f6ccf95fcbcf035f815a495.tar.bz2
gentoo-b833b3aa08aff3333f6ccf95fcbcf035f815a495.zip
kde-apps/ksystemlog: 21.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-21.12.1.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 4a06b81712a7..cea64568779c 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-21.08.3.tar.xz 1964344 BLAKE2B b07979b7cea394bf264c6a6c3196c87253057c619f0d30f4df58c67fe7ab19adc74dc57ff51e6e7135ea2936f061948973876ab9ffca7efbf06c43ef56661a29 SHA512 ed86c7bac5ce5441bbd5aef6b72687e6472f355cf0a26550e1fe5d1acea29d5970952f0e10b730b17d02f50b8e64a2c742cff8d93af1f839b02bd4512803cdd4
DIST ksystemlog-21.12.0.tar.xz 1967580 BLAKE2B 073df42585cc53f6df8687166474059db41894a463991b9ea89bd514502316e2b676d95633fd628b03da13cfdaf7ec3947b154ddc58e582453cc5c05b9e316a3 SHA512 f9257968ef9ca0aae229cd36b42638fbaa3888873f31cbe03dce786dfbaab823dd06f2865ff0e80e206b40852a75286b045f3dd863c021fd12cfc18893d76fc1
+DIST ksystemlog-21.12.1.tar.xz 1967468 BLAKE2B 1d9dbb95d909e8c19de7e73899f7ec6f603b6af7e146e17915d3e2279685a10a2b2044eee217ac3fce35ff45f7f5c7e25b4a4bd625ef20d7dd044a0e1d7aa145 SHA512 d850f8028a3779612d1758cb14d2e8012c7e7daa5ebb0667d9f7d74ecd77a15fcea6bce42930f079ccd6ed645ff2c111f194f529c0557839c5ccc8092376e61d
diff --git a/kde-apps/ksystemlog/ksystemlog-21.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-21.12.1.ebuild
new file mode 100644
index 000000000000..e38ac5787dad
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-21.12.1.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="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.88.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 ~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."
+}