aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-10 16:42:39 -0600
committerTed Gould <ted@gould.cx>2014-02-10 16:42:39 -0600
commit3ce0b11814352483761e693d50364b1b43694d26 (patch)
treeeaf12181da981aa3dccae56ce6d598d506197f63 /src/CMakeLists.txt
parent9660d0b5c1cee59d7b34e989fc2da19b67167619 (diff)
downloadayatana-indicator-sound-3ce0b11814352483761e693d50364b1b43694d26.tar.gz
ayatana-indicator-sound-3ce0b11814352483761e693d50364b1b43694d26.tar.bz2
ayatana-indicator-sound-3ce0b11814352483761e693d50364b1b43694d26.zip
Getting accounts service into the service
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c11ec51..7efb2a5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,6 +6,15 @@
set(HEADER_PATH "${CMAKE_CURRENT_BINARY_DIR}/indicator-sound-service.h")
set(SYMBOLS_PATH "${CMAKE_CURRENT_BINARY_DIR}/indicator-sound-service.def")
+vapi_gen(accounts-service
+ LIBRARY
+ accounts-service
+ PACKAGES
+ gio-2.0
+ INPUT
+ /usr/share/gir-1.0/AccountsService-1.0.gir
+)
+
vala_init(indicator-sound-service
PACKAGES
config
@@ -20,9 +29,9 @@ vala_init(indicator-sound-service
--thread
--vapidir=${CMAKE_SOURCE_DIR}/vapi/
--vapidir=.
- --target-glib=2.36
--pkg=url-dispatcher
--pkg=bus-watcher
+ --pkg=accounts-service
)
vala_add(indicator-sound-service