diff options
author | Tobias Heinlein <keytoaster@gentoo.org> | 2008-06-05 22:42:02 +0000 |
---|---|---|
committer | Tobias Heinlein <keytoaster@gentoo.org> | 2008-06-05 22:42:02 +0000 |
commit | a6cb99aac7c2f3d81b13321fb8b35bd9cf560e64 (patch) | |
tree | e9e5cdc40d29d25220dafd341d5c0353ebec2344 /kde-base/marble | |
parent | Added the KDE 4.0.5 version of lskat. (diff) | |
download | historical-a6cb99aac7c2f3d81b13321fb8b35bd9cf560e64.tar.gz historical-a6cb99aac7c2f3d81b13321fb8b35bd9cf560e64.tar.bz2 historical-a6cb99aac7c2f3d81b13321fb8b35bd9cf560e64.zip |
Added the KDE 4.0.5 version of marble.
Package-Manager: portage-2.2_pre7/cvs/Linux 2.6.25-gentoo-r4 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Diffstat (limited to 'kde-base/marble')
-rw-r--r-- | kde-base/marble/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/marble/marble-4.0.5.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/kde-base/marble/ChangeLog b/kde-base/marble/ChangeLog index f3960c59d461..96a24d049152 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.12 2008/05/16 00:51:21 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.13 2008/06/05 22:42:02 keytoaster Exp $ + +*marble-4.0.5 (05 Jun 2008) + + 05 Jun 2008; Tobias Heinlein <keytoaster@gentoo.org> +marble-4.0.5.ebuild: + Added the KDE 4.0.5 version of marble. *marble-4.0.4 (15 May 2008) diff --git a/kde-base/marble/marble-4.0.5.ebuild b/kde-base/marble/marble-4.0.5.ebuild new file mode 100644 index 000000000000..e2fc5fc9d7f1 --- /dev/null +++ b/kde-base/marble/marble-4.0.5.ebuild @@ -0,0 +1,52 @@ +# 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.5.ebuild,v 1.1 2008/06/05 22:42:02 keytoaster 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. +# Last checked in 4.0.3. +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 +} |