/[gentoo-x86]/kde-base/ksystemlog/ksystemlog-4.8.5.ebuild
Gentoo

Contents of /kde-base/ksystemlog/ksystemlog-4.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Sep 3 12:20:20 2012 UTC (23 months, 2 weeks ago) by scarabeus
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on ppc wrt bug#431892.

(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/ksystemlog/ksystemlog-4.8.5.ebuild,v 1.3 2012/09/02 22:54:33 ago Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kdeadmin"
9
10 VIRTUALX_REQUIRED=test
11 inherit kde4-meta
12
13 DESCRIPTION="KDE system log viewer"
14 KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
15 IUSE="debug test"
16
17 RESTRICT=test
18 # bug 378101
19
20 src_prepare() {
21 kde4-meta_src_prepare
22
23 if use test; then
24 # beat this stupid test into shape: the test files contain no year, so
25 # comparison succeeds only in 2007 !!!
26 local theyear=$(date +%Y)
27 einfo Setting the current year as ${theyear} in the test files
28 sed -e "s:2007:${theyear}:g" -i ksystemlog/tests/systemAnalyzerTest.cpp
29
30 # one test consistently fails, so comment it out for the moment
31 sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
32 fi
33 }

  ViewVC Help
Powered by ViewVC 1.1.20