dont suffix the deamon

This commit is contained in:
Patrick von Reth 2014-03-24 18:15:06 +01:00
parent fb61be320e
commit 7d0eccecab
4 changed files with 9 additions and 6 deletions

View File

@ -29,3 +29,7 @@ endif()
if(WIN32)
add_definitions(-DQT_NO_DEBUG -DQT_FORCE_ASSERTS -D_WIN32_WINNT=0x0501)
endif()
set(XDG_APPS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/applications)

View File

@ -2,8 +2,8 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/FindLibsnore.cmake.in" "${CMAKE_CURR
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" DESTINATION share/apps/cmake/modules)
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)
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(UNIX AND WITH_SNORE_DEAMON)
if(WIN32)

View File

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

View File

@ -4,7 +4,6 @@ add_subdirectory(core)
if(WITH_SNORE_DEAMON)
add_executable( snorenotify WIN32 main.cpp snorenotify.cpp trayicon.cpp ${SNORENOTIFY_DEAMON_DEPS})
set_target_properties(snorenotify PROPERTIES OUTPUT_NAME "snorenotify${SNORE_SUFFIX}")
target_link_libraries( snorenotify snorecore ${QT_QTGUI_LIBRARY} )
if(KDE4_FOUND)
@ -20,6 +19,6 @@ if(WITH_SNORE_DEAMON)
install(TARGETS snorenotify RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
endif()
endif()
add_subdirectory(plugins)