diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-06 16:04:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-06 17:06:07 +0200 |
commit | 8ea97068f86f7c38eb7eba7b4834d24395ea63c8 (patch) | |
tree | 1a99302b57a044d70ab6ffc235920f12cd030996 /kde-apps/ksystemlog | |
parent | dev-texlive/texlive-luatex: Add more blockers (diff) | |
download | gentoo-8ea97068f86f7c38eb7eba7b4834d24395ea63c8.tar.gz gentoo-8ea97068f86f7c38eb7eba7b4834d24395ea63c8.tar.bz2 gentoo-8ea97068f86f7c38eb7eba7b4834d24395ea63c8.zip |
kde-apps: Add KDE Applications 19.04.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-19.04.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index e6ecf5e32478..01c4f35d7ff4 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-18.12.3.tar.xz 1924336 BLAKE2B a115fbb7be2137fe3ec1073185dd25d5fbe97facb228e066471829c4feaab82550f00ee1454f689d511d91c76e5455643544bf7b7f3c04d3d06be497e015f475 SHA512 4808d8981e5d7d5d75be11c3b00c25e4962ea2b8a5e600f50aff2ca8e74d9af924859329224c92001a91e9fa697fae29a21c2ed1209cada641c732773b2bad0b DIST ksystemlog-19.04.1.tar.xz 1923744 BLAKE2B 0fe0a9666bdb427be2e04f6b2f096d8305df75c4ab6e157f56a0046b8f4982622a2669db3d79177b2e0b062676daed9b6957698e4b438c8a7f9ad35854eb2f1d SHA512 6a30d655ca18f8249979e266fc6377ef69cf40b9c155e41cb4102e542ea1beabb5a647a23a37430bf010ff3b657887b58ed559f41f248fea76f47cea5146f295 +DIST ksystemlog-19.04.2.tar.xz 1921396 BLAKE2B f89e735a1453f50d1a2f910feb39a02b1eaa9aa88e277604e951ab2509ab51a1cb7742e1dc6170e9be9f8e7f21e8b2675b05a4c359761642dad9c5a361d44df0 SHA512 214f2d5cc70f688857061342b5960aa3236d75610b0ca1248f28ab870a7a8ac79f1fc4485f639cb8868748307a0970665d89fc8b90e6141f8a4212036a46bab5 diff --git a/kde-apps/ksystemlog/ksystemlog-19.04.2.ebuild b/kde-apps/ksystemlog/ksystemlog-19.04.2.ebuild new file mode 100644 index 000000000000..66a4582b810b --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-19.04.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://kde.org/applications/system/ksystemlog/" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="systemd" + +# bug 378101 +RESTRICT+=" test" + +DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtwidgets) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + kde5_src_prepare + + if use test; then + # beat this stupid test into shape: the test files contain no year, so + # comparison succeeds only in 2007 !!! + local theyear=$(date +%Y) + einfo Setting the current year as ${theyear} in the test files + sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp || die + + # one test consistently fails, so comment it out for the moment + sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \ + -i ksystemlog/tests/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package systemd Journald) + ) + kde5_src_configure +} |