forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-apps/ksystemlog: 22.04.3 version bump
Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST ksystemlog-21.12.3.tar.xz 1967468 BLAKE2B 94b325c9e2dc39b1bd4b797f5763574461e93274e85b182ab4f2cf927d308a9a4dbb3f7e9685e59aa0a517fee883c744e354840af62ac5d11a2802938937e1c6 SHA512 238db6dac11b397f5d4fecbe0b40dd225d83c08f960a3ddcb2e2365dae302c01bb1012e8d123dcec895c17a5816879bfddf3e1942d01aabe6560bb9be65fe66c | ||
DIST ksystemlog-22.04.2.tar.xz 1971576 BLAKE2B b8f817db5889ec5576a73cd3d1fa89f2c9db741b67eb94cadb6905ff4365d38affca81980d191ecce1efd66ef7caedfdef926188d1609c432f6983ee1527dc11 SHA512 6b62d0629246bc855b603fc8bf3b15333226e30a01ca843080caec583d2beb45647f8eacc920d836f630dabc657ad811ddc15f26a74341f6b71a722ace201804 | ||
DIST ksystemlog-22.04.3.tar.xz 1969184 BLAKE2B c72ff850d28069d9a90a8cbe22a247c8574dedbfe5f0cb8429c14883ce59259fbc74f9ae3657f5a3c8bba56525c368bacbdc75f75da2ba36373fdfb39bc0803a SHA512 11eecd4da8870eb8a95bb61184a73f461ad977444dfd0c2f823bb10d982164be4a6621c37009e6f432109d91d976bd7ca7977ee90883234032e46f210defb54f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.92.0 | ||
QTMIN=5.15.4 | ||
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." | ||
} |