summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-01-03 14:45:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-01-05 19:01:12 +0100
commitda2ed2840d518a11eef9e3233c609443a9f4ef41 (patch)
tree9ac8be1211c2b8c3df27a5d00dcec6cfeb5a4a4d /kde-apps/ksystemlog
parentkde-apps/kcron: 22.12.1 version bump (diff)
downloadgentoo-da2ed2840d518a11eef9e3233c609443a9f4ef41.tar.gz
gentoo-da2ed2840d518a11eef9e3233c609443a9f4ef41.tar.bz2
gentoo-da2ed2840d518a11eef9e3233c609443a9f4ef41.zip
kde-apps/ksystemlog: 22.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r--kde-apps/ksystemlog/Manifest1
-rw-r--r--kde-apps/ksystemlog/ksystemlog-22.12.1.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest
index 5f770a36d0e1..77e0839add6b 100644
--- a/kde-apps/ksystemlog/Manifest
+++ b/kde-apps/ksystemlog/Manifest
@@ -1,2 +1,3 @@
DIST ksystemlog-22.08.3.tar.xz 1970120 BLAKE2B 7bd1e815238fb8ec44080a557985a7bf857b749a4965ba1c91dd0985b2aacc1199afaadd5ce4bb736020ecc7d23582667520f0e79c97a2b570320aa560a16ed6 SHA512 f93e94a3024af9590c519f92f04f93e75ea28c51de2a4805005caaff7e1f7706ff0dd72c1912571e0c213540470afe5c95e8a1d6e53a5b85d656734786290b1c
DIST ksystemlog-22.12.0.tar.xz 1997760 BLAKE2B 3b2056d97ff50c91e8b2ed5dfba440ba19c23e4af00aebe817abb4df361ff3a6fa17be171f6e9a0b83803af29e27ce73fb69fbe56f317523a4ac1d483a63e631 SHA512 c85f5091a34a5f96e05c7d0a3fb384463708298e33bed9305b76dbf6db7f1e3815ad8bd967e55af3c3c2c1199ccf07040c9339a9b8c5a347b68929fe3030a6aa
+DIST ksystemlog-22.12.1.tar.xz 1997584 BLAKE2B 58d50a81ee656aa1cfc5aea589d0bebc3b727c38e620587681b07af89547a19e97ab23132ef3adf31278daa80435eb7dc11edb5b7faca6a7f6862a8bf006cf5c SHA512 04bf025fcc8e06451bebc91bd34a2610659451e970ffb40e5aa973e587103253b59729a1f4b2bce921ca9d4a6d977cab9a15ebfe5cbc5d324a1cd26b360ec972
diff --git a/kde-apps/ksystemlog/ksystemlog-22.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-22.12.1.ebuild
new file mode 100644
index 000000000000..8aae28ad1925
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-22.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+KFMIN=5.101.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."
+}