[Lunar-commits] <moonbase> qshaderedit: Adding a desktop entry, no icon found for it.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Mon Nov 23 22:31:43 CET 2009
commit ee95073492d58fe2cc99e5f7e94dce67ba7232da
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Mon Nov 23 16:31:43 2009 -0500
qshaderedit: Adding a desktop entry, no icon found for it.
---
qt4-apps/qshaderedit/BUILD | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/qt4-apps/qshaderedit/BUILD b/qt4-apps/qshaderedit/BUILD
index 9d81dbf..7cb388c 100644
--- a/qt4-apps/qshaderedit/BUILD
+++ b/qt4-apps/qshaderedit/BUILD
@@ -4,6 +4,19 @@
cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX &&
- default_make
+ default_make &&
+
+ # Desktop menu entry
+ cat > ${MODULE}.desktop << EOF &&
+
+[Desktop Entry]
+Type=Application
+Name=qshaderedit
+Comment=a real-time shader editor
+Exec=$QTDIR/bin/qshaderedit
+Categories=Qt;KDE;Graphics;
+EOF
+
+ install -D -m644 ${MODULE}.desktop $QTDIR/share/applications/${MODULE}.desktop
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list