|
From: Tapio V. <aa...@us...> - 2011-02-28 15:39:42
|
Author: Tapio Vierros <tap...@gm...>
Date: Mon Feb 28 17:39:09 2011 +0200
Added .desktop launcher.
---
CMakeLists.txt | 2 ++
platform/composer.desktop | 10 ++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e508a86..71f5ab2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,8 @@ target_link_libraries(${EXENAME} ${LIBS})
# We don't currently have any assets, so on Windows, we just install to the root installation folder
if(UNIX)
install(TARGETS ${EXENAME} DESTINATION bin)
+ install(FILES "platform/composer.desktop" DESTINATION "share/applications/")
+ install(FILES "icons/composer.png" DESTINATION "share/pixmaps")
else()
install(TARGETS ${EXENAME} DESTINATION .)
endif()
diff --git a/platform/composer.desktop b/platform/composer.desktop
new file mode 100644
index 0000000..361492a
--- /dev/null
+++ b/platform/composer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Composer
+Comment=Note creator for pitch-detecting karaoke games
+Exec=composer
+Icon=composer.png
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;Music;Qt;
+
|