From 106719c4c0724d9bcaa87e3a3861ae4f3dc9c7ed Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 31 Dec 2013 01:30:37 -0500 Subject: [PATCH] Add stellarium and celestia --- config/dependencies | 2 ++ config/packages-list | 3 +++ stage5/hv-install-1 | 5 +++++ stage5/packages-update | 5 +++++ stage5/pkg/stellarium | 16 ++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 stage5/pkg/stellarium diff --git a/config/dependencies b/config/dependencies index f84746c..6704680 100644 --- a/config/dependencies +++ b/config/dependencies @@ -177,3 +177,5 @@ ${LIBX264}: ${YASM} ${GST_FFMPEG}: ${YASM} ${MERCURIAL}: ${PYTHON} + +${STELLARIUM}: ${QT} diff --git a/config/packages-list b/config/packages-list index e910ef6..e9ea0e3 100644 --- a/config/packages-list +++ b/config/packages-list @@ -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" diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 2831d4c..21dcf85 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -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 diff --git a/stage5/packages-update b/stage5/packages-update index fd423f2..bcd82c6 100755 --- a/stage5/packages-update +++ b/stage5/packages-update @@ -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 index 0000000..2a8a083 --- /dev/null +++ b/stage5/pkg/stellarium @@ -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 +} -- 2.20.1