aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
blob: c66ca698956f655d5a9746519f94dfb3ca930baa (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
38
39
40
41
42
43

include(UseGSettings)

###########################
# Indicator service
###########################

set(
  INDICATOR_DIR
  "${CMAKE_INSTALL_DATADIR}/unity/indicators"
  CACHE FILEPATH "Indicator directory"
)

install(
  FILES "com.canonical.indicator.sound"
  DESTINATION "${INDICATOR_DIR}"
)

###########################
# Dbus Service
###########################

set(
  INDICATOR_SOUND_SERVICE
  "${CMAKE_CURRENT_BINARY_DIR}/indicator-sound.service"
)

configure_file(
  "indicator-sound.service.in"
  ${INDICATOR_SOUND_SERVICE}
  @ONLY
)

install(
  FILES "${INDICATOR_SOUND_SERVICE}"
  DESTINATION "${CMAKE_INSTALL_DATADIR}/dbus-1/services/"
)

###########################
# GSettings
###########################

add_schema ("com.canonical.indicator.sound.gschema.xml")