[Lunar-commits] <moonbase-other> xplanet: Readding to moonbase, optional_depends for kstars.

Dennis Veatch stumbles at lunar-linux.org
Sun Aug 5 12:26:04 CEST 2012


commit aefdc55c4f414e34413450d660bab82d5c377e74
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Sun, 05 Aug 2012 03:26:04 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/aefdc55c4f414e34413450d660bab82d5c377e74

xplanet: Readding to moonbase, optional_depends for kstars.
---
  x11-utils/xplanet/BUILD                                      +30/-0    
  x11-utils/xplanet/DEPENDS                                    +2/-0     
  x11-utils/xplanet/DETAILS                                    +17/-0    
  3 files changed, 49 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/x11-utils/xplanet/BUILD
@@ -0,0 +1,30 @@
+(
+
+  sed -i "1i #include <stdio.h>" src/Separation.cpp src/Satellite.cpp &&
+
+  if module_installed xscreensaver; then
+    OPTS+=" --with-xscreensaver"
+  fi                                       &&
+
+  ./configure  --prefix=/usr                \
+               --bindir=/usr/bin            \
+               --sbindir=/usr/sbin          \
+               --datadir=/usr/share         \
+               --sysconfdir=/etc            \
+               --infodir=/usr/share/info    \
+               --mandir=/usr/share/man      \
+               --with-auxdir=share/xplanet  \
+               --with-freetype              \
+               --with-gif                   \
+               --with-jpeg                  \
+               --with-png                   \
+               --with-pnm                   \
+               --with-tiff                  \
+               --with-animation             \
+               --with-gl                    \
+               --with-glut                  \
+               $OPTS                       &&
+
+  default_make
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/x11-utils/xplanet/DEPENDS
@@ -0,0 +1,2 @@
+depends automake
+depends %GLX
--- /dev/null
+++ b/x11-utils/xplanet/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=xplanet
+         VERSION=1.3.0
+          SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:7c5208b501b441a0184cbb334a5658d0309d7dac
+        WEB_SITE=http://xplanet.sourceforge.net
+         ENTERED=20020608
+         UPDATED=20120506
+        SHORT="Xplanet renders an image of a planet into the X root window"
+
+cat << EOF
+Xplanet was inspired by Xearth, which renders an image of the earth into
+the X root window. Azimuthal, Mercator, Mollweide, orthographic, or
+rectangular projections can be shown as well as a window with a globe the
+user can rotate interactively using OpenGL or Mesa. The other planets and
+some satellites may also be displayed.
+EOF




More information about the Lunar-commits mailing list