[Lunar-commits] <moonbase> qt-creator: Just a little change in the BUILD for a menu entry.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Sep 26 00:50:41 CEST 2009


commit 4e35ab49a7c63e64cf2ab817735d043f2850dcb3
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Sep 25 18:50:41 2009 -0400

    qt-creator: Just a little change in the BUILD for a menu entry.
---
 qt4-apps/qt-creator/BUILD |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/qt4-apps/qt-creator/BUILD b/qt4-apps/qt-creator/BUILD
index 1e66094..52d14a3 100644
--- a/qt4-apps/qt-creator/BUILD
+++ b/qt4-apps/qt-creator/BUILD
@@ -13,6 +13,19 @@
   make            &&
   prepare_install &&
 
-  make install INSTALL_ROOT=$MODULE_PREFIX/
+  make install INSTALL_ROOT=$MODULE_PREFIX/ &&
+
+  # Desktop menu entry
+  cat > ${MODULE}.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=Qt Creator
+Comment=Qt based Development Tool
+Exec=$QTDIR/bin/qtcreator
+Icon=/usr/share/doc/qt-creator/doc/images/qt-logo.png
+Categories=Application;Qt;KDE;Development;
+EOF
+
+  install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list