diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-05-16 00:51:21 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-05-16 00:51:21 +0000 |
commit | fc2415244145d786caae17f97ffb675b67201908 (patch) | |
tree | 7219abad8b707ceb8c3e13e392434ac07b4ab46e /kde-base/marble | |
parent | Added KDE 4.0.4 version of lskat. Thanks to Jorge Manuel B. S. Vicetto. (diff) | |
download | historical-fc2415244145d786caae17f97ffb675b67201908.tar.gz historical-fc2415244145d786caae17f97ffb675b67201908.tar.bz2 historical-fc2415244145d786caae17f97ffb675b67201908.zip |
Added KDE 4.0.4 version of marble. Thanks to Jorge Manuel B. S. Vicetto.
Package-Manager: portage-2.1.5
Diffstat (limited to 'kde-base/marble')
-rw-r--r-- | kde-base/marble/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/marble/marble-4.0.4.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/kde-base/marble/ChangeLog b/kde-base/marble/ChangeLog index 03550009bad3..f3960c59d461 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.11 2008/04/03 21:44:19 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.12 2008/05/16 00:51:21 ingmar Exp $ + +*marble-4.0.4 (15 May 2008) + + 15 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> +marble-4.0.4.ebuild: + Added KDE 4.0.4 version of marble. Thanks to Jorge Manuel B. S. Vicetto. *marble-4.0.3 (03 Apr 2008) diff --git a/kde-base/marble/marble-4.0.4.ebuild b/kde-base/marble/marble-4.0.4.ebuild new file mode 100644 index 000000000000..68331470d5d3 --- /dev/null +++ b/kde-base/marble/marble-4.0.4.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.4.ebuild,v 1.1 2008/05/16 00:51:21 ingmar 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 +} |