Bump to 1.4.1
authorDaniel Goller <morfic@gentoo.org>
Fri, 17 Feb 2006 05:51:50 +0000 (05:51 +0000)
committerDaniel Goller <morfic@gentoo.org>
Fri, 17 Feb 2006 05:51:50 +0000 (05:51 +0000)
Package-Manager: portage-2.0.53_rc7

sci-astronomy/celestia/ChangeLog
sci-astronomy/celestia/Manifest
sci-astronomy/celestia/celestia-1.4.1.ebuild [new file with mode: 0644]
sci-astronomy/celestia/files/digest-celestia-1.4.1 [new file with mode: 0644]

index bfb575b97aada25e9aeac6c6b3caf79db2551c36..f29d74cb20f68cb0b8e72ad09cc0e7ae1e070ca6 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-astronomy/celestia
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.11 2006/02/16 03:52:17 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.12 2006/02/17 05:51:50 morfic Exp $
+
+*celestia-1.4.1 (17 Feb 2006)
+
+  17 Feb 2006; Daniel Goller <morfic@gentoo.org> +celestia-1.4.1.ebuild:
+  Bump to 1.4.1
 
   16 Feb 2006; Daniel Goller <morfic@gentoo.org> celestia-1.4.0.ebuild:
   Change logic for Makefile fix closing bug #122919
index fb79db7722e2379ee98d754fdca426c56bbb6b8e..bb70ef4b9306efc9403fe9bd475d084c54fa2fe3 100644 (file)
@@ -1,18 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 39e8bab62af36e8581df47631e20de33 ChangeLog 6952
+MD5 0dc20a10a68ff489641c9a903310a9a9 ChangeLog 7073
 MD5 6be90f964bc6ca0195b0623338dfd1f0 celestia-1.3.2.ebuild 3063
 MD5 511913cb6dac5097274e61a8257fa1a5 celestia-1.4.0.ebuild 2943
+MD5 c0b33aa7379f9e5b806fa8d2712da01b celestia-1.4.1.ebuild 2943
 MD5 f659f2616eeaaa4d3b6422e586d2bfa2 files/celestia-1.3.2-noarts.patch 3566
 MD5 d4ff8e51fb3a546279e7442cf24e07d7 files/digest-celestia-1.3.2 68
 MD5 8e1dfea9c274b2242b921a467ec1d54b files/digest-celestia-1.4.0 68
+MD5 c5a1e667a20a16f4aef1d1772bee8762 files/digest-celestia-1.4.1 68
 MD5 f96a6eb019a59bf1a643b96c43657af8 files/resmanager.h.patch 893
 MD5 1b55bd73a1313e288a88762af6cd0fb7 metadata.xml 330
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFD9ABg/aM9DdBw91cRAlVIAKDM+QCWdpITHDLLeWonbXd6u95MOgCghDzS
-x51HRR0YAjF73fOrj7pOyxw=
-=S8sw
+iD8DBQFD9W3o/aM9DdBw91cRAplSAJ9zlM/ADd0SAdsm0Vo7Sj27VDAEBACgxZNl
+s4suPpZbmGBVpye80f7gQFQ=
+=IYnu
 -----END PGP SIGNATURE-----
diff --git a/sci-astronomy/celestia/celestia-1.4.1.ebuild b/sci-astronomy/celestia/celestia-1.4.1.ebuild
new file mode 100644 (file)
index 0000000..3d47734
--- /dev/null
@@ -0,0 +1,103 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.4.1.ebuild,v 1.1 2006/02/17 05:51:50 morfic Exp $
+
+inherit eutils flag-o-matic gnome2 kde-functions
+
+DESCRIPTION="Free space simulation that lets you experience our universe in three dimensions"
+HOMEPAGE="http://www.shatters.net/celestia/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gnome gtk kde arts threads nls lua"
+
+DEPEND="virtual/glu
+       media-libs/jpeg
+       media-libs/libpng
+       gtk? ( !gnome? ( !kde? (
+               >=x11-libs/gtk+-2.6
+               >=x11-libs/gtkglext-1.0
+       ) ) )
+       gnome? ( !kde? (
+               >=x11-libs/gtk+-2.6
+               >=x11-libs/gtkglext-1.0
+               >=gnome-base/libgnomeui-2.0
+       ) )
+       kde?  ( !gnome? ( >=kde-base/kdelibs-3.0.5 ) )
+       !gtk? ( !gnome? ( !kde? ( virtual/glut ) ) )
+       arts? ( kde-base/arts )
+       lua? ( >=dev-lang/lua-5.0 )"
+
+pkg_setup() {
+       # Check for one for the following use flags to be set.
+       if ! use gnome && use kde; then
+               einfo "USE=\"kde\" detected."
+               mygui="kde"
+       elif ! use kde && use gnome; then
+               einfo "USE=\"gnome\" detected."
+               USE_DESTDIR="1"
+               mygui="gnome"
+       elif ! use kde && ! use gnome && use gtk; then
+               einfo "USE=\"gtk\" detected."
+               mygui="gtk"
+       elif use kde && use gnome; then
+               einfo "Both gnome and kde support requested. Defaulting to kde"
+               mygui="kde"
+       else
+               ewarn "If you want to use the full gui, set USE=\"{kde/gnome/gtk}\""
+               ewarn "Defaulting to glut support (no GUI)."
+               mygui="glut"
+       fi
+
+       einfo "If you experience problems building celestia with nvidia drivers,"
+       einfo "you can try:"
+       einfo "eselect opengl set xorg-x11"
+       einfo "emerge celestia"
+       einfo "eselect opengl set nvidia"
+}
+
+src_compile() {
+       filter-flags "-funroll-loops -frerun-loop-opt"
+       addwrite ${QTDIR}/etc/settings
+
+       # remove manual installation in /usr/share/${PN}/manual
+       # replaced with dohtml in src_install
+       sed -i -e "s:manual::g" Makefile.in
+
+       if [ "${mygui}" == "kde" ]; then
+               set-kdedir 3
+               set-qtdir 3
+               export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer"
+       fi
+
+       econf \
+               --with-${mygui} \
+               --with-pic \
+               $(use_with arts) \
+               $(use_with lua) \
+               $(use_enable threads threading) \
+               $(use_enable nls) \
+               || die "econf failed"
+
+       #fix Makefiles to avoid Access Violations while fixing bug #119339
+       if [ "${mygui}" != "gnome" ] ; then
+       for d in . src data extras textures textures/lores textures/medres textures/hires models shaders fonts  po ; do
+       sed -i -e "s#pkgdatadir = /usr/share/celestia#pkgdatadir = ${D}/usr/share/celestia#" $d/Makefile; done
+       fi
+
+       emake || die "emake failed"
+}
+
+src_install() {
+       if [ "${mygui}" == "gnome" ]; then
+               gnome2_src_install
+       else
+               einstall        || die "einstall failed"
+       fi
+
+       dodoc AUTHORS README TODO NEWS TRANSLATORS ChangeLog \
+               CelestiaKeyAssignments.txt KbdMouseJoyControls.txt devguide.txt
+       dohtml coding-standards.html manual/*.html manual/*.css
+}
diff --git a/sci-astronomy/celestia/files/digest-celestia-1.4.1 b/sci-astronomy/celestia/files/digest-celestia-1.4.1
new file mode 100644 (file)
index 0000000..24f4358
--- /dev/null
@@ -0,0 +1 @@
+MD5 be1d36fc97a13b9a276249dbc0efac41 celestia-1.4.1.tar.gz 23966886