Add stellarium and celestia
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 31 Dec 2013 06:30:37 +0000 (01:30 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 31 Dec 2013 06:30:37 +0000 (01:30 -0500)
config/dependencies
config/packages-list
stage5/hv-install-1
stage5/packages-update
stage5/pkg/stellarium [new file with mode: 0644]

index f84746c..6704680 100644 (file)
@@ -177,3 +177,5 @@ ${LIBX264}: ${YASM}
 ${GST_FFMPEG}: ${YASM}
 
 ${MERCURIAL}: ${PYTHON}
+
+${STELLARIUM}: ${QT}
index e910ef6..e9ea0e3 100644 (file)
@@ -40,6 +40,7 @@ CAIROMM="cairomm-1.10.0"
 CDPARANOIA="cdparanoia-III-10.2"
 CDRTOOLS="cdrtools-3.00"
 CDRDAO="cdrdao-1.2.3"
+CELESTIA="celestia-1.6.1"
 CKERMIT="ckermit-8.0.211"
 CHORDPACK="chordpack-0.8.2"
 CLAMAV="clamav-0.97.5"
@@ -156,6 +157,7 @@ GST_PLUGINS_UGLY="gst-plugins-ugly-0.10.19"
 GST_FFMPEG="gst-ffmpeg-0.10.13"
 GTK="gtk+-2.24.12"
 GTK_ENGINES="gtk-engines-2.20.2"
+GTKGLEXT="gtkglext-1.2.0"
 GTKMM="gtkmm-2.24.2"
 GUILE1="guile-1.8.8"
 GUILE2="guile-2.0.7"
@@ -370,6 +372,7 @@ SPLIX="splix-2.0.0"
 SQLITE="sqlite-autoconf-3071700"
 SQUIRRELMAIL="squirrelmail-1.5.1"
 STARTUP_NOTIFICATION="startup-notification-0.12"
+STELLARIUM="stellarium-0.11.4"
 STRACE="strace-4.7"
 SUBVERSION="subversion-1.7.6"
 SYLPHEED="sylpheed-3.2.0"
index 2831d4c..21dcf85 100755 (executable)
@@ -265,6 +265,11 @@ ipkg ${TRANSMISSION} "--disable-daemon"
 #ipkg ${GEDA_SYMCHECK}
 #ipkg ${GEDA_GATTRIB}
 
+# Astronomie
+ipkg -m noac ${STELLARIUM}
+ipkg ${GTKGLEXT}
+ipkg -m acnb ${CELESTIA} "--with-gtk"
+
 rscr mult  "Performing post-install" post-install
 
 write_completed_stage
index fd423f2..bcd82c6 100755 (executable)
@@ -218,4 +218,9 @@ fpkg -e "tar.gz" ${ABIWORD} \
 #fpkg ${GEDA_SYMCHECK} ${GEDA_BASE_URL}
 #fpkg ${GEDA_GATTRIB}  ${GEDA_BASE_URL}
 
+# Astronomie
+fpkg -e "tar.gz" -m hv ${STELLARIUM}
+fpkg -m sf ${GTKGLEXT}
+fpkg -e "tar.gz" -m hv ${CELESTIA}
+
 exit $?
diff --git a/stage5/pkg/stellarium b/stage5/pkg/stellarium
new file mode 100644 (file)
index 0000000..2a8a083
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+hvbuild()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+
+    mkdir -p builds/unix
+    cd builds/unix
+
+    cmake ../.. \
+        -DQT_QMAKE_EXECUTABLE=/opt/qt/bin/qmake \
+        -DCMAKE_INSTALL_PREFIX=/usr
+
+    ${HVMAKE}
+    ${HVMAKE} install
+}