[Lunar-commits] <moonbase> blender: Just adding to the BUILD so it will create a desktop icon.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Fri Oct 16 14:25:18 CEST 2009
commit 92e45152054f070db666c7650b64959f5377f768
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Fri Oct 16 08:25:18 2009 -0400
blender: Just adding to the BUILD so it will create a desktop icon.
---
graphics/blender/BUILD | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/graphics/blender/BUILD b/graphics/blender/BUILD
index 5a006ba..8c7033f 100644
--- a/graphics/blender/BUILD
+++ b/graphics/blender/BUILD
@@ -25,6 +25,19 @@
scons LCGDIR=lib BF_BUILDDIR=build BF_INSTALLDIR=/opt/lunar/blender &&
install -m 755 -d /usr/share/pixmaps/ &&
- install -m 644 release/freedesktop/icons/32x32/blender.png /usr/share/pixmaps/
+ install -m 644 release/freedesktop/icons/32x32/blender.png /usr/share/pixmaps/ &&
+
+ # Desktop menu entry
+ cat > ${MODULE}.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Blender
+Comment=3D modeling, animation and rendering
+Exec=/opt/lunar/blender/blender
+Icon=/opt/lunar/blender/icons/scalable/blender.svg
+Categories=Qt;KDE;Graphics;
+EOF
+
+ install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list