aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-03-04 22:46:49 +0100
committerRobert Tari <robert@tari.in>2021-05-06 23:08:48 +0200
commit5f5d6d713e353488085ad2bd5eeaa07881e3fdc9 (patch)
treeb9a411131aa6843a08306294f508458c47d73de9 /data
parent65be49deecac3b6790ca709dfbf75af55b7861fb (diff)
downloadayatana-indicator-application-5f5d6d713e353488085ad2bd5eeaa07881e3fdc9.tar.gz
ayatana-indicator-application-5f5d6d713e353488085ad2bd5eeaa07881e3fdc9.tar.bz2
ayatana-indicator-application-5f5d6d713e353488085ad2bd5eeaa07881e3fdc9.zip
Add CMakeLists.txt files
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 0000000..123c63e
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,19 @@
+# ayatana-indicator-application.service
+
+pkg_check_modules(SYSTEMD systemd)
+
+if (${SYSTEMD_FOUND})
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-application.service.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.service" @ONLY)
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.service" DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/systemd/user")
+endif()
+
+# ayatana-indicator-application.desktop
+
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-application.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.desktop" @ONLY)
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-application.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/xdg/autostart")
+
+# ordering-override.keyfile
+
+install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/ordering-override.keyfile" DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/ayatana-indicator-application")
+
+