diff options
author | Ted Gould <ted@gould.cx> | 2013-06-27 10:43:13 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-06-27 10:43:13 -0500 |
commit | 9daa9b7b0849a121309b5522ef7eb6d34c6712b2 (patch) | |
tree | bfbda0045e277cef9420d2b4fb6b2d04986ca541 /data | |
parent | 14b46999b69f8dac446e204604adf0981395449c (diff) | |
download | ayatana-greeter-session-broadcast-9daa9b7b0849a121309b5522ef7eb6d34c6712b2.tar.gz ayatana-greeter-session-broadcast-9daa9b7b0849a121309b5522ef7eb6d34c6712b2.tar.bz2 ayatana-greeter-session-broadcast-9daa9b7b0849a121309b5522ef7eb6d34c6712b2.zip |
Adding in a build system
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..b784adb --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,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") |