blob: 77a4c157ce435078f01d2aa69000a90f777db02d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/kweather-4.0.5.ebuild,v 1.1 2008/06/05 22:33:04 keytoaster Exp $
EAPI="1"
KMNAME=kdetoys
inherit kde4-meta
DESCRIPTION="KDE weather status display"
KEYWORDS="~amd64 ~x86"
IUSE="debug htmlhandbook"
DEPEND=">=kde-base/plasma-${PV}:${SLOT}"
RDEPEND="${DEPEND}"
# Tests segfault. Last checked in 4.0.3.
RESTRICT="test"
src_compile() {
mycmakeargs="${mycmakeargs}
-DWITH_Plasma=ON"
kde4-base_src_compile
}
src_test() {
pushd "${WORKDIR}"/${PN}_build/${PN}/tests > /dev/null
# 'metar_parser_test' is also available but fails and I'm not sure why
emake stationdatabase_test sun_test || \
die "Failed to build tests."
for t in *.shell; do
./"$t" || die "Test '$t' failed."
done
popd > /dev/null
}
|