diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:13:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:46:08 +0200 |
commit | 2de492f66f593f97c84056a21259aaa5653681dd (patch) | |
tree | fe20d10d8a88b87b3b6ef55c8ac06f5b3621c0f0 /kde-apps/ksystemlog | |
parent | kde5.eclass: Disable kdoctools_install(po) if KDE_HANDBOOK=forceoptional (diff) | |
download | gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.gz gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.bz2 gentoo-2de492f66f593f97c84056a21259aaa5653681dd.zip |
kde-apps: Add KDE Applications 17.04.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-apps/ksystemlog')
-rw-r--r-- | kde-apps/ksystemlog/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ksystemlog/ksystemlog-17.04.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/ksystemlog/Manifest b/kde-apps/ksystemlog/Manifest index 99952a4d8a11..0ddd8ffde797 100644 --- a/kde-apps/ksystemlog/Manifest +++ b/kde-apps/ksystemlog/Manifest @@ -1,2 +1,3 @@ DIST ksystemlog-16.12.3.tar.xz 351032 SHA256 712a22bf3649079a8c3db2900ed7e58abc31f2021d04ff4c0e8aa029c0bda675 SHA512 0e06d0e33027c050d1df4b9f0a041db9bff29786368501297f4c0c43d725feb766f91f4613e9222b77850fd09c9e49d37a9968db2fbe223596ffd478b78a96b7 WHIRLPOOL 602d09b0af4650d2870d2e9c96eb5c55139272d4bf96652aff96e062b52e589dc564969957c5dc9e0ab5ff7e6e0bd09db2daec24425a52b8dc164b4d3362f103 DIST ksystemlog-17.04.0.tar.xz 1784876 SHA256 bec60ce3991dac85be7785c299c15291c9b819a82f6420316700f52f32655498 SHA512 2dd67170602d0ee490e3e8fed0a75827ab1507f01844bf76b7dcf10de8885d433e0b9156ef7dd6c79fcbaaec291f9cc2b8fc37ec43a5699d9ef73c9795e992d1 WHIRLPOOL 929ab28006e45e8339861b84f389e63db4547931b5e46395e21d86fe97a9414eda9381e6894c7fba376490c726c9ab5e6aec81c883651585cac6e947556ba449 +DIST ksystemlog-17.04.1.tar.xz 1784628 SHA256 163e0a9f46bd0250a60864f5e112fa74f81755f97f2cfb82c5a6e8dd10355e4a SHA512 65427a894e4efe1bedf20771c0e6e67bfdc5ab96ce1f9f9a6304e8d8851ea2447619f5fd767aedbf61f92f511f577bb6e8fe2c91054fda272bbe4d71afd49f90 WHIRLPOOL edc4ae37393044d1f4a8479d555102273a096960214900ba5be84dbb5bf7dbedfd73636e2ed9b5fbe992310948a0acdd9d0265d0c773affc50ad60f282c7ac5a diff --git a/kde-apps/ksystemlog/ksystemlog-17.04.1.ebuild b/kde-apps/ksystemlog/ksystemlog-17.04.1.ebuild new file mode 100644 index 000000000000..7caf52a9ff05 --- /dev/null +++ b/kde-apps/ksystemlog/ksystemlog-17.04.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="System log viewer by KDE" +HOMEPAGE="https://www.kde.org/applications/system/ksystemlog/" +KEYWORDS="~amd64 ~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 + + # one test consistently fails, so comment it out for the moment + sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package systemd Journald) + ) + kde5_src_configure +} |