blob: 94db46b31240f006832f3cb4b7141351c3a9bda0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# org.ayatana.indicator.session.gschema.xml
find_package(GSettings)
add_schema("org.ayatana.indicator.messages.gschema.xml")
# ayatana-indicator-messages.service
pkg_check_modules(SYSTEMD systemd)
if (${SYSTEMD_FOUND})
pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-messages.service.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-messages.service" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-messages.service" DESTINATION "${SYSTEMD_USER_DIR}")
endif()
# ayatana-indicator-messages.desktop
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-messages.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-messages.desktop" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-messages.desktop" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/autostart")
# org.ayatana.indicator.messages
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.indicator.messages" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/ayatana/indicators")
# icons/*
install(
DIRECTORY
icons/16x16
icons/22x22
icons/24x24
icons/32x32
icons/48x48
icons/scalable
DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor"
FILES_MATCHING PATTERN "*.png" PATTERN "*.svg"
)
|