Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ollier <larchunix@users.noreply.github.com>2017-11-04 21:23:05 +0300
committerDenis Ollier <larchunix@users.noreply.github.com>2017-11-04 21:23:05 +0300
commitc5319f6dac2ec1c5b8c8dbb6e5afbaf1fcbb83c8 (patch)
tree6e18c2023652bdfc5426c99e942a0fef07aff1e1 /remmina-plugins
parentb294f114f38c263e48125cfe3a7d57ff84fb1e94 (diff)
telepathy: install dbus activation file
Lost during migration from autotools to cmake in commit 62ee2d0.
Diffstat (limited to 'remmina-plugins')
-rw-r--r--remmina-plugins/telepathy/CMakeLists.txt10
-rw-r--r--remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service.in2
2 files changed, 11 insertions, 1 deletions
diff --git a/remmina-plugins/telepathy/CMakeLists.txt b/remmina-plugins/telepathy/CMakeLists.txt
index b718acc5a..0d71ab0d9 100644
--- a/remmina-plugins/telepathy/CMakeLists.txt
+++ b/remmina-plugins/telepathy/CMakeLists.txt
@@ -49,3 +49,13 @@ target_link_libraries(remmina-plugin-telepathy ${REMMINA_COMMON_LIBRARIES}
${TELEPATHY_LIBRARIES})
install(TARGETS remmina-plugin-telepathy DESTINATION ${REMMINA_PLUGINDIR})
+
+# DBus activation file
+if(NOT REMMINA_BINARY_PATH)
+ set(REMMINA_BINARY_PATH ${CMAKE_INSTALL_FULL_BINDIR}/remmina)
+endif()
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/org.freedesktop.Telepathy.Client.Remmina.service.in
+ ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.Remmina.service @ONLY)
+
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.Remmina.service
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services)
diff --git a/remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service.in b/remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service.in
index 3f748962c..95c0cf775 100644
--- a/remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service.in
+++ b/remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.Telepathy.Client.Remmina
-Exec=@bindir@/remmina -x telepathy
+Exec=@REMMINA_BINARY_PATH@ -x telepathy