diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-01-13 23:24:43 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-01-13 23:24:43 +0000 |
commit | a3d76975b4d180cb9657cfbe4a578b11e6ec9599 (patch) | |
tree | bd82fcf58af4201d871c4c469473a83ee170ada5 /kde-base | |
parent | Bump kde to 4.1.4 (diff) | |
download | gentoo-2-a3d76975b4d180cb9657cfbe4a578b11e6ec9599.tar.gz gentoo-2-a3d76975b4d180cb9657cfbe4a578b11e6ec9599.tar.bz2 gentoo-2-a3d76975b4d180cb9657cfbe4a578b11e6ec9599.zip |
Bump kde to 4.1.4
(Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/marble/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/marble/marble-4.1.4.ebuild | 62 |
2 files changed, 69 insertions, 2 deletions
diff --git a/kde-base/marble/ChangeLog b/kde-base/marble/ChangeLog index 1d72536978a8..83d656b3575a 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.18 2008/11/16 08:23:00 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.19 2009/01/13 23:24:43 alexxy Exp $ + +*marble-4.1.4 (13 Jan 2009) + + 13 Jan 2009; Alexey Shvetsov <alexxy@gentoo.org> +marble-4.1.4.ebuild: + Bump to 4.1.4 15 Nov 2008; Mike Frysinger <vapier@gentoo.org> marble-4.1.3.ebuild: Add ppc/ppc64 love #244306. diff --git a/kde-base/marble/marble-4.1.4.ebuild b/kde-base/marble/marble-4.1.4.ebuild new file mode 100644 index 000000000000..5938e13b3361 --- /dev/null +++ b/kde-base/marble/marble-4.1.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.1.4.ebuild,v 1.1 2009/01/13 23:24:43 alexxy Exp $ +EAPI="2" +NEED_KDE="none" +KMNAME=kdeedu + +if use kdeprefix; then + KDEDIR="/usr/kde/4.1" +else + KDEDIR="/usr" +fi +CPPUNIT_REQUIRED="optional" + +# Goes in the ebuild because of NEED_KDE=none +# Needs to be defined before inheriting kde4-meta +SLOT="4.1" + +inherit kde4-meta + +DESCRIPTION="Generic geographical map widget" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +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}[kdeprefix=] + >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=] ) + !kdeprefix? ( !sci-geosciences/marble )" +DEPEND="${COMMONDEPEND}" +RDEPEND="${COMMONDEPEND}" + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN)" + + sed -i -e "s:add_subdirectory(cmake):#dontwantit:g" CMakeLists.txt \ + || die "disabling cmake includes failed" + sed -i -e "s:add_subdirectory( cmake ):#dontwantit:g" CMakeLists.txt \ + || die "disabling cmake includes failed" + + 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_configure +} + +src_test() { + mycmakeargs="${mycmakeargs} -DENABLE_TESTS=TRUE" + kde4-meta_src_test +} |