diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-25 17:26:00 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-25 17:26:00 +0000 |
commit | 563ad45c23c077a7ce71b8af443f4ba4b7410454 (patch) | |
tree | 94cd20955d3b0ce02938d7977324018f76c6c8e1 /kde-base/marble/marble-4.3.5.ebuild | |
parent | Version bump KDE 4.3.5 (diff) | |
download | gentoo-2-563ad45c23c077a7ce71b8af443f4ba4b7410454.tar.gz gentoo-2-563ad45c23c077a7ce71b8af443f4ba4b7410454.tar.bz2 gentoo-2-563ad45c23c077a7ce71b8af443f4ba4b7410454.zip |
Version bump KDE 4.3.5
(Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/marble/marble-4.3.5.ebuild')
-rw-r--r-- | kde-base/marble/marble-4.3.5.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-base/marble/marble-4.3.5.ebuild b/kde-base/marble/marble-4.3.5.ebuild new file mode 100644 index 000000000000..12915edb1517 --- /dev/null +++ b/kde-base/marble/marble-4.3.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.3.5.ebuild,v 1.1 2010/01/25 17:26:00 scarabeus Exp $ + +EAPI="2" + +KMNAME="kdeedu" +CPPUNIT_REQUIRED="optional" +inherit kde4-meta + +DESCRIPTION="Generic geographical map widget" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug designer-plugin gps +handbook plasma python" + +# tests fail / segfault. Last checked for 4.2.88 +RESTRICT=test + +DEPEND=" + gps? ( sci-geosciences/gpsd ) + python? ( + >=dev-python/PyQt4-4.4.4-r1 + $(add_kdebase_dep pykde4) + ) +" +RDEPEND="${DEPEND} + !kdeprefix? ( !sci-geosciences/marble ) +" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN) + $(cmake-utils_use_with plasma) + $(cmake-utils_use_with python PyKDE4) + $(cmake-utils_use_with python PyQt4) + $(cmake-utils_use_with python PythonLibrary) + $(cmake-utils_use_with python SIP) + ) + + find "${S}/marble/src/bindings/python/sip" -name "*.sip" | xargs -- sed -i 's/#include <marble\//#include </' + + if use gps; then + 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 + + kde4-meta_src_configure +} |