From adc98141439e62c93997c8617ac7ef6d98ed8e85 Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Tue, 11 Mar 2008 00:02:24 +0000 Subject: Version bump to KDE 4.0.2. (Portage version: 2.1.4.4) --- kde-base/marble/ChangeLog | 7 ++++- kde-base/marble/marble-4.0.2.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 kde-base/marble/marble-4.0.2.ebuild (limited to 'kde-base/marble') diff --git a/kde-base/marble/ChangeLog b/kde-base/marble/ChangeLog index 97f99b13182d..16eea89d09d7 100644 --- a/kde-base/marble/ChangeLog +++ b/kde-base/marble/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/marble # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.8 2008/02/18 18:32:53 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.9 2008/03/11 00:02:24 philantrop Exp $ + +*marble-4.0.2 (10 Mar 2008) + + 10 Mar 2008; Wulf C. Krueger +marble-4.0.2.ebuild: + Version bump to KDE 4.0.2 18 Feb 2008; Ingmar Vanhassel marble-4.0.1-r1.ebuild: Really added the USE flag. diff --git a/kde-base/marble/marble-4.0.2.ebuild b/kde-base/marble/marble-4.0.2.ebuild new file mode 100644 index 000000000000..10cb5618371f --- /dev/null +++ b/kde-base/marble/marble-4.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.0.2.ebuild,v 1.1 2008/03/11 00:02:24 philantrop Exp $ + +EAPI="1" +NEED_KDE="none" +KMNAME=kdeedu +SLOT="kde-4" # Goes in the ebuild because of NEED_KDE=none +KDEDIR="/usr/kde/4.0" +CPPUNIT_REQUIRED="optional" +inherit kde4-meta + +DESCRIPTION="KDE: generic geographical map widget" +KEYWORDS="~amd64 ~x86" +IUSE="${IUSE} debug designer-plugin htmlhandbook kde gps" + +# FIXME: undefined reference when building tests. RESTRICTed for now. +RESTRICT="test" + +COMMONDEPEND=" + gps? ( sci-geosciences/gpsd ) + kde? ( >=kde-base/kdelibs-${PV}:${SLOT} + >=kde-base/kdepimlibs-${PV}:${SLOT} )" +DEPEND="${COMMONDEPEND}" +RDEPEND="${COMMONDEPEND}" + +src_compile() { + epatch "${FILESDIR}/${PN}-4.0.0-fix-tests.patch" + + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN)" + + if use gps; then + mycmakeargs="${mycmakeargs} -DHAVE_LIBGPS=1" + else + sed -i -e 's:FIND_LIBRARY(libgps_LIBRARIES gps):# LIBGPS DISABLED &:' \ + marble/Findlibgps.cmake || die "sed to disable gpsd failed." + fi + + if ! use kde; then + mycmakeargs="${mycmakeargs} -DQTONLY:BOOL=ON" + fi + + kde4-meta_src_compile +} + +src_test() { + mycmakeargs="${mycmakeargs} -DENABLE_TESTS=TRUE" + + kde4-meta_src_test +} -- cgit v1.2.3-65-gdbad