diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-28 11:44:16 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-08-28 11:44:16 +0000 |
commit | e626e668bbe719bfbdf227f000eb01805a551bdc (patch) | |
tree | 68b5fcf44d1bb14c535a6f909d8554252a1300da /src/CMakeLists.txt | |
parent | dc721ac25d910a08fc3806330b2f8bd8d3b2a4dd (diff) | |
parent | 2bc9546ec1d4c1eb1aaf5973478a0b1edcc17278 (diff) | |
download | ayatana-indicator-sound-e626e668bbe719bfbdf227f000eb01805a551bdc.tar.gz ayatana-indicator-sound-e626e668bbe719bfbdf227f000eb01805a551bdc.tar.bz2 ayatana-indicator-sound-e626e668bbe719bfbdf227f000eb01805a551bdc.zip |
Use bus_watch_namespace() for more robust monitoring of mpris players appearing or disappearing on the bus.
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ec43b8f..a28147d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,6 +20,7 @@ vala_init(indicator-sound-service --vapidir=${CMAKE_SOURCE_DIR}/vapi/ --vapidir=. --target-glib=2.36 + --pkg=bus-watcher ) vala_add(indicator-sound-service @@ -47,19 +48,12 @@ vala_add(indicator-sound-service media-player-list.vala DEPENDS media-player - mpris2-watcher + mpris2-interfaces ) vala_add(indicator-sound-service mpris2-interfaces.vala ) vala_add(indicator-sound-service - mpris2-watcher.vala - DEPENDS - media-player - mpris2-interfaces - freedesktop-interfaces -) -vala_add(indicator-sound-service freedesktop-interfaces.vala ) vala_add(indicator-sound-service @@ -89,6 +83,7 @@ set( INDICATOR_SOUND_SOURCES ${project_VALA_SOURCES} ${project_VALA_C} + bus-watch-namespace.c ${SYMBOLS_PATH} ) |