diff options
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-20.12.0.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 1bf9226f8d6a..e0a127a10491 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-20.08.3.tar.xz 1936020 BLAKE2B 3d1ab5dee63dabf2219705f9c24afd3f1cba9b4e2b43d7f0344fd2d64354bb32e39aeb142ef09266bfc4f7382e048c1f27c7ca560e310d3cb11c56f80e51279f SHA512 8b5d3e787e17470caa8df1b616fa944efc1216570acdfa8266c0a25921f90c6205ba4f2aeed42b1164c46e069a6a4607949b3a3c4d15531b8cf050eebceace0b +DIST ksystemlog-20.12.0.tar.xz 1936384 BLAKE2B f1ee7e3a60b791b99076adcd884984995d1996d27d16a290102c72fe1c62f9420292dcb368eaac04aecb35fe80183c4b06fcb0943e9b5b9160fab9de2f7a94cc SHA512 78e9192199e18cd4d1bf17f83a166376af2299d51f3f1f0bc30c1986e6344ba81eaf92489626c3cfa7a2840721818185d79ca0858d1bd01aca87237603c9849c EBUILD ksystemlog-20.08.3.ebuild 1523 BLAKE2B 7f3bd70c18f49cf1a0fd227b4d71fcf8584d5d942c8635ee14ec5157d1f8c6321e979e61d488420a527de6845befb2a4bdc4a680bf01fe0a4486807bc24e8dd7 SHA512 c961a47adc69fdf6ad9d4ddf267ab8522d1083d0b51f4425348bdff07542abcb31feffa40fb332b5e5859b7ffc8af4be8cfe60d79e00a4f842296ed91d55b33b +EBUILD ksystemlog-20.12.0.ebuild 1571 BLAKE2B 55075d07f72ffa02fa58b680f6b7712ac4c82653706e0346fa6486ac2dbd2a29fef2cc94e26a113eafb0b2085a8b0cf985ea44a392dfc10d7c774ac7ac48c4c8 SHA512 024f583ae164ff1d43ad90c830194ed65573fffd6669a74e8c013c26175fa8e1748b6c1e2c5e3acb532082b880bc1b71ca31222ac7f8c846d2f6fc76ce278609 MISC metadata.xml 357 BLAKE2B 2004a9f41fec27cb3e4f75c4248fbc4b46a4ab7c52f2d23fbcaa3085e1580b0dfe9ad9980c2b7af0670a7b56860111235fbc21298a2647d5bafa0d2be0bf95c0 SHA512 ba2d8f62d75eee5e8edf3368ad54c0d4b347b92279c2de5a4d326536bf670c82e419490a3972731b698bff84ff10908c939ba7a416f4ce4de335eb914df4a701 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." +} |