aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
blob: b784adb514581dc0a3a4d4df6492bfafff38866f (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
44
45
46
47
48
49
50

###########################
# Dbus Interfaces
###########################

install(
FILES
com.canonical.Unity.Greeter.Broadcast.xml
DESTINATION ${DBUSIFACEDIR}
)

###########################
# Dbus Services
###########################

set(BROADCAST_SERVICE
"${CMAKE_CURRENT_BINARY_DIR}/com.canonical.Unity.Greeter.Broadcast.service"
)

set(pkglibexecdir "${CMAKE_INSTALL_FULL_LIBEXECDIR}/unity-greeter-session-broadcast")
configure_file("com.canonical.Unity.Greeter.Broadcast.service.in"
  "${BROADCAST_SERVICE}"
  @ONLY
)

install(
FILES
"${BROADCAST_SERVICE}"
DESTINATION ${DBUSSERVICEDIR}
)

###########################
# Upstart Job
###########################

set(SESSION_UPSTART
"${CMAKE_CURRENT_SOURCE_DIR}/unity-greeter-session-broadcast-session.conf"
)

install(
FILES
"${SESSION_UPSTART}"
DESTINATION "/usr/share/upstart/sessions"
)

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

add_schema ("com.canonical.Unity.Greeter.Broadcast.gschema.xml")