summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2007-10-29 03:02:52 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2007-10-29 03:02:52 +0000
commit5a4a7353a157a073ee18736ff1a976fbeaf2bfac (patch)
tree9035bc7e12c2290cd0700ecdf0a9e585854686bc /sci-geosciences/marble
parentRemoving old reversion that is without the memory clobbering fix (diff)
downloadgentoo-2-5a4a7353a157a073ee18736ff1a976fbeaf2bfac.tar.gz
gentoo-2-5a4a7353a157a073ee18736ff1a976fbeaf2bfac.tar.bz2
gentoo-2-5a4a7353a157a073ee18736ff1a976fbeaf2bfac.zip
Version bump.
(Portage version: 2.1.3.15)
Diffstat (limited to 'sci-geosciences/marble')
-rw-r--r--sci-geosciences/marble/ChangeLog7
-rw-r--r--sci-geosciences/marble/files/digest-marble-0.43
-rw-r--r--sci-geosciences/marble/marble-0.4.ebuild40
3 files changed, 49 insertions, 1 deletions
diff --git a/sci-geosciences/marble/ChangeLog b/sci-geosciences/marble/ChangeLog
index bf03cdaa08ce..5e15b73eee7c 100644
--- a/sci-geosciences/marble/ChangeLog
+++ b/sci-geosciences/marble/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-geosciences/marble
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/marble/ChangeLog,v 1.3 2007/04/13 11:24:49 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/marble/ChangeLog,v 1.4 2007/10/29 03:02:51 cryos Exp $
+
+*marble-0.4 (29 Oct 2007)
+
+ 29 Oct 2007; Marcus D. Hanwell <cryos@gentoo.org> +marble-0.4.ebuild:
+ Version bump.
13 Apr 2007; Torsten Veller <tove@gentoo.org> marble-0.3.ebuild:
Added ~x86 keyword
diff --git a/sci-geosciences/marble/files/digest-marble-0.4 b/sci-geosciences/marble/files/digest-marble-0.4
new file mode 100644
index 000000000000..547be173a3a9
--- /dev/null
+++ b/sci-geosciences/marble/files/digest-marble-0.4
@@ -0,0 +1,3 @@
+MD5 143b9d7053f7c9c85a4111b7a7428706 marble-0.4.tar.bz2 10310242
+RMD160 ccb48bf3442566cc415fdfc2edc3d4a10a3ffb33 marble-0.4.tar.bz2 10310242
+SHA256 45cf26243dfdf28905e534466a01927be54ddfc0eb99db27787e726f7831e0b8 marble-0.4.tar.bz2 10310242
diff --git a/sci-geosciences/marble/marble-0.4.ebuild b/sci-geosciences/marble/marble-0.4.ebuild
new file mode 100644
index 000000000000..bf046759eb33
--- /dev/null
+++ b/sci-geosciences/marble/marble-0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/marble/marble-0.4.ebuild,v 1.1 2007/10/29 03:02:51 cryos Exp $
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="Free 3D desk globe and world atlas"
+HOMEPAGE="http://edu.kde.org/marble/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/qt-4.2.3"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.5"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ # Determine the lib suffix
+ if [[ $(get_libdir)=='lib64' ]]; then
+ local libsuffix='64'
+ else
+ local libsuffix=''
+ fi
+
+ # Only use Qt to build marble
+ cmake -DQTONLY=ON -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${libsuffix} \
+ -DCMAKE_C_COMPILER=$(type -p $(tc-getCC)) \
+ -DCMAKE_CXX_COMPILER=$(type -p $(tc-getCXX))
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+}