summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-01-20 00:52:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-01-20 00:52:28 +0000
commit0d20d4d9537525ece7c69f03070e5e52ee8d815b (patch)
tree9b9c33760ebde8e106dcfe812512c9eae18a9ca9 /sci-astronomy
parentwhitespace (diff)
downloadgentoo-2-0d20d4d9537525ece7c69f03070e5e52ee8d815b.tar.gz
gentoo-2-0d20d4d9537525ece7c69f03070e5e52ee8d815b.tar.bz2
gentoo-2-0d20d4d9537525ece7c69f03070e5e52ee8d815b.zip
version bump; menu icon patch from François AZELAR via bug #145455
(Portage version: 2.1.3.19)
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/stellarium/ChangeLog10
-rw-r--r--sci-astronomy/stellarium/files/digest-stellarium-0.9.13
-rw-r--r--sci-astronomy/stellarium/stellarium-0.9.1.ebuild59
3 files changed, 70 insertions, 2 deletions
diff --git a/sci-astronomy/stellarium/ChangeLog b/sci-astronomy/stellarium/ChangeLog
index d95d4ed2268b..cbd63cf9b294 100644
--- a/sci-astronomy/stellarium/ChangeLog
+++ b/sci-astronomy/stellarium/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-astronomy/stellarium
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.34 2007/08/16 20:06:49 mr_bones_ Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.35 2008/01/20 00:52:27 mr_bones_ Exp $
+
+*stellarium-0.9.1 (20 Jan 2008)
+
+ 20 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +stellarium-0.9.1.ebuild:
+ version bump; menu icon patch from François AZELAR via bug #145455
16 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org>
stellarium-0.9.0.ebuild:
diff --git a/sci-astronomy/stellarium/files/digest-stellarium-0.9.1 b/sci-astronomy/stellarium/files/digest-stellarium-0.9.1
new file mode 100644
index 000000000000..b374292aa781
--- /dev/null
+++ b/sci-astronomy/stellarium/files/digest-stellarium-0.9.1
@@ -0,0 +1,3 @@
+MD5 d0d55cb1ff5acd08a4d3b27d953579c0 stellarium-0.9.1.tar.gz 31491807
+RMD160 df777f6f0f1f7748dd1ce1e2de7cc343cc9caaed stellarium-0.9.1.tar.gz 31491807
+SHA256 91e16cfe457399912f1e6bf1cb0a693d0fd5a458d5631c83637fa2de40c84fd4 stellarium-0.9.1.tar.gz 31491807
diff --git a/sci-astronomy/stellarium/stellarium-0.9.1.ebuild b/sci-astronomy/stellarium/stellarium-0.9.1.ebuild
new file mode 100644
index 000000000000..85945157666e
--- /dev/null
+++ b/sci-astronomy/stellarium/stellarium-0.9.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.9.1.ebuild,v 1.1 2008/01/20 00:52:27 mr_bones_ Exp $
+
+inherit toolchain-funcs eutils qt4
+
+DESCRIPTION="Stellarium renders 3D photo-realistic skies in real time."
+HOMEPAGE="http://www.stellarium.org/"
+SRC_URI="mirror://sourceforge/stellarium/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libpng
+ media-libs/freetype
+ dev-libs/boost
+ media-libs/jpeg
+ net-misc/curl
+ $(qt4_min_version 4.2)
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.6
+ nls? ( sys-devel/gettext )
+ x11-libs/libXt"
+
+# bug #186194
+QT4_BUILT_WITH_USE_CHECK="opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if ! use nls ; then
+ sed -i \
+ -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' \
+ CMakeLists.txt \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ CC=$(tc-getCC) \
+ CXX=$(tc-getCXX) \
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ || die "cmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ use nls || rm -rf "${D}/usr/share/locale"
+ newicon data/icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} Stellarium /usr/share/pixmaps/${PN}.bmp "Education;Science;Astronomy;"
+ dodoc AUTHORS ChangeLog README
+}