summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kweather/kweather-4.1.4.ebuild')
-rw-r--r--kde-base/kweather/kweather-4.1.4.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/kde-base/kweather/kweather-4.1.4.ebuild b/kde-base/kweather/kweather-4.1.4.ebuild
new file mode 100644
index 000000000000..c642662c86c9
--- /dev/null
+++ b/kde-base/kweather/kweather-4.1.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/kweather-4.1.4.ebuild,v 1.1 2009/01/13 23:08:40 alexxy Exp $
+
+EAPI="2"
+
+KMNAME=kdetoys
+inherit kde4-meta
+
+DESCRIPTION="KDE weather status display"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug htmlhandbook"
+
+DEPEND=">=kde-base/libplasma-${PV}:${SLOT}"
+RDEPEND="${DEPEND}"
+
+# Tests segfault (4.1.0)
+RESTRICT="test"
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DWITH_Plasma=ON"
+
+ kde4-base_src_configure
+}
+
+src_test() {
+ pushd "${WORKDIR}"/${PN}_build/${PN}/tests > /dev/null
+ # The tests seem to fail if there's no station database defined
+ # and seem to using wrong var replacement
+ emake metar_parser stationdatabase_test sun_test || \
+ die "Failed to build tests."
+ for t in *.shell; do
+ ./"$t" || die "Test '$t' failed."
+ done
+ popd > /dev/null
+}