dont suffix the deamon
This commit is contained in:
parent
fb61be320e
commit
7d0eccecab
|
@ -29,3 +29,7 @@ endif()
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_definitions(-DQT_NO_DEBUG -DQT_FORCE_ASSERTS -D_WIN32_WINNT=0x0501)
|
add_definitions(-DQT_NO_DEBUG -DQT_FORCE_ASSERTS -D_WIN32_WINNT=0x0501)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
set(XDG_APPS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindLibsnore${SNORE_SUFFIX}.cmake" DESTINATION share/apps/cmake/modules)
|
||||||
|
|
||||||
if(UNIX 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)
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/snorenotify.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" @ONLY)
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify${SNORE_SUFFIX}.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/snorenotify.desktop" DESTINATION ${XDG_APPS_INSTALL_DIR})
|
||||||
endif(UNIX AND WITH_SNORE_DEAMON)
|
endif(UNIX AND WITH_SNORE_DEAMON)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
|
@ -1,8 +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@SNORE_SUFFIX@
|
Name=SnoreNotify
|
||||||
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
|
||||||
Categories=Qt;System;
|
Categories=Qt;System;
|
|
@ -4,7 +4,6 @@ add_subdirectory(core)
|
||||||
if(WITH_SNORE_DEAMON)
|
if(WITH_SNORE_DEAMON)
|
||||||
|
|
||||||
add_executable( snorenotify WIN32 main.cpp snorenotify.cpp trayicon.cpp ${SNORENOTIFY_DEAMON_DEPS})
|
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} )
|
target_link_libraries( snorenotify snorecore ${QT_QTGUI_LIBRARY} )
|
||||||
|
|
||||||
if(KDE4_FOUND)
|
if(KDE4_FOUND)
|
||||||
|
@ -20,6 +19,6 @@ if(WITH_SNORE_DEAMON)
|
||||||
install(TARGETS snorenotify RUNTIME DESTINATION bin
|
install(TARGETS snorenotify RUNTIME DESTINATION bin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
ARCHIVE DESTINATION lib)
|
ARCHIVE DESTINATION lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(plugins)
|
add_subdirectory(plugins)
|
||||||
|
|
Loading…
Reference in New Issue