diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 03:19:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 03:19:26 +0000 |
commit | caf79cb4f7c4d5f7cce488d8f50dfb98ddbd09ab (patch) | |
tree | 4fb39a9252efabe8f160ef46b7b3be2f52af25aa /kde-apps/ksystemlog | |
parent | 3606ceecb950b302a6ba2a9882aeeff2a851e5dc (diff) |
gentoo auto-resync : 10:12:2022 - 03:19:26
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-22.12.0.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 4ae4b26162e7..e2389035c187 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,3 +1,5 @@ DIST ksystemlog-22.08.3.tar.xz 1970120 BLAKE2B 7bd1e815238fb8ec44080a557985a7bf857b749a4965ba1c91dd0985b2aacc1199afaadd5ce4bb736020ecc7d23582667520f0e79c97a2b570320aa560a16ed6 SHA512 f93e94a3024af9590c519f92f04f93e75ea28c51de2a4805005caaff7e1f7706ff0dd72c1912571e0c213540470afe5c95e8a1d6e53a5b85d656734786290b1c +DIST ksystemlog-22.12.0.tar.xz 1997760 BLAKE2B 3b2056d97ff50c91e8b2ed5dfba440ba19c23e4af00aebe817abb4df361ff3a6fa17be171f6e9a0b83803af29e27ce73fb69fbe56f317523a4ac1d483a63e631 SHA512 c85f5091a34a5f96e05c7d0a3fb384463708298e33bed9305b76dbf6db7f1e3815ad8bd967e55af3c3c2c1199ccf07040c9339a9b8c5a347b68929fe3030a6aa EBUILD ksystemlog-22.08.3.ebuild 1649 BLAKE2B f76dd2f6a7b827fe1d613bd115f8d8fc7a12d35ab074d14d2914793b431e1a9f862876e98a77dcc5debd5bf3679b1ec297de98548ccc1b727877527a2e0d22a6 SHA512 804ec247429824a44e96203a3a8dd11af61bfc7bb3671da1440a14d715fb9ccdf33b3d7ff7d5540afe03af4a5fd76a095cb64a2d6fb77b1cbd8a6e33253020f7 +EBUILD ksystemlog-22.12.0.ebuild 1652 BLAKE2B c831f08999be3d715b4d12a533c9b15c437c050292fbe697b407ddbea5b7857bd8a241a3278376222448360695dd871cba5ef85447cbd5b0e0048ed80772d55f SHA512 df88370bb51275e5ec3ebb5c953b113639ab8c1a3b4ccf7fd24e97925a76ca979a29411e746b4160fcb64d29fc42e0cf54dc89d6fa4bf43080c4d8578c5fb3f2 MISC metadata.xml 426 BLAKE2B e441ed4b9e30f9cc4da23e5aee1ad8e799a6df18a4e5b5f623722ca8f6627eaf9df193249caa84cddd28823f69f093cb39dbd722275b764a2dfdbb3cbe7e27fd SHA512 1780c918ce9e47504a8627c3c544371f7492d8796615cd94e68459476c74fa474bc93ce678ca0261e246cea52935fd01879f6ebc786e1d355b762e460c0f0d07 diff --git a/kde-apps/ksystemlog/ksystemlog-22.12.0.ebuild b/kde-apps/ksystemlog/ksystemlog-22.12.0.ebuild new file mode 100644 index 000000000000..c298761b6bc0 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-22.12.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.99.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." +} |