[Lunar-commits] <moonbase> avogadro: An adjustment so it will show up in kmenu.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Nov 19 13:58:15 CET 2009
commit 88b2e007f4159f33c16bdd8579ec633f57c15e1f
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Nov 19 07:58:15 2009 -0500
avogadro: An adjustment so it will show up in kmenu.
---
science/avogadro/BUILD | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/science/avogadro/BUILD b/science/avogadro/BUILD
index 127388a..3a811ec 100644
--- a/science/avogadro/BUILD
+++ b/science/avogadro/BUILD
@@ -1,13 +1,13 @@
(
- . /etc/profile.d/qt4.rc
- . /etc/profile.d/kde4.rc
+ . /etc/profile.d/qt4.rc &&
+ . /etc/profile.d/kde4.rc &&
if module_installed Python ; then
LIB_VERSION=`lvu version Python| cut -c -3`
fi &&
- AVO_BUILD_DIR="$SOURCE_DIRECTORY/avo-build"
+ AVO_BUILD_DIR="$SOURCE_DIRECTORY/avo-build" &&
mkdir $AVO_BUILD_DIR &&
cd $AVO_BUILD_DIR &&
@@ -15,10 +15,14 @@
OPTS="-DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/usr/lib/libpython$LIB_VERSION.so"
cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DSHARE_INSTALL_PREFIX=/usr/share \
-DCMAKE_BUILD_TYPE=RELEASE \
$OPTS &&
- default_make
+ default_make &&
+# sedit "s:Qt;:Qt;KDE;:" $MODULE_PREFIX/share/applications/avogadro.desktop &&
+ sedit "s:Exec=:Exec=$MODULE_PREFIX/bin/:" /usr/share/applications/avogadro.desktop &&
+ sedit "s:Icon=:Icon=/usr/share/pixmaps/:" /usr/share/applications/avogadro.desktop
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list