fixed desktop file

This commit is contained in:
Patrick von Reth 2014-03-23 21:51:00 +01:00
parent 6df1632308
commit fb61be320e
2 changed files with 6 additions and 8 deletions

View File

@ -1,10 +1,10 @@
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/FindLibsnore.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" DESTINATION share/apps/cmake/modules)
if(KDE4_FOUND AND WITH_SNORE_DEAMON)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/snorenotify.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})
endif(KDE4_FOUND AND WITH_SNORE_DEAMON)
if(UNIX AND WITH_SNORE_DEAMON)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/snorenotify.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/snorenotify${SNORE_SUFFIX}.desktop" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify${SNORE_SUFFIX}.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
endif(UNIX AND WITH_SNORE_DEAMON)
if(WIN32)
add_subdirectory(snoretoast)

View File

@ -1,10 +1,8 @@
[Desktop Entry]
Type=Application
Version=@SNORE_VERSION_MAJOR@.@SNORE_VERSION_MINOR@@SNORE_VERSION_SUFFIX@
Name=SnoreNotify
Name=SnoreNotify@SNORE_SUFFIX@
Comment=An application redirecting freedesktop notifications to a unified notification backed
Icon=snore
Exec=snorenotify@SNORE_SUFFIX@
Categories=Qt;System;
X-KDE-StartupNotify=true
X-DBUS-StartupType=Unique
Categories=Qt;System;