fixed desktop file
This commit is contained in:
parent
6df1632308
commit
fb61be320e
|
@ -1,10 +1,10 @@
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/FindLibsnore.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" @ONLY)
|
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)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" DESTINATION share/apps/cmake/modules)
|
||||||
|
|
||||||
if(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.desktop" @ONLY)
|
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.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify${SNORE_SUFFIX}.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||||
endif(KDE4_FOUND AND WITH_SNORE_DEAMON)
|
endif(UNIX AND WITH_SNORE_DEAMON)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_subdirectory(snoretoast)
|
add_subdirectory(snoretoast)
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Version=@SNORE_VERSION_MAJOR@.@SNORE_VERSION_MINOR@@SNORE_VERSION_SUFFIX@
|
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
|
Comment=An application redirecting freedesktop notifications to a unified notification backed
|
||||||
Icon=snore
|
Icon=snore
|
||||||
Exec=snorenotify@SNORE_SUFFIX@
|
Exec=snorenotify@SNORE_SUFFIX@
|
||||||
Categories=Qt;System;
|
Categories=Qt;System;
|
||||||
X-KDE-StartupNotify=true
|
|
||||||
X-DBUS-StartupType=Unique
|
|
Loading…
Reference in New Issue