aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am.THIS
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-08-28 11:44:16 +0000
committerTarmac <Unknown>2013-08-28 11:44:16 +0000
commite626e668bbe719bfbdf227f000eb01805a551bdc (patch)
tree68b5fcf44d1bb14c535a6f909d8554252a1300da /src/Makefile.am.THIS
parentdc721ac25d910a08fc3806330b2f8bd8d3b2a4dd (diff)
parent2bc9546ec1d4c1eb1aaf5973478a0b1edcc17278 (diff)
downloadayatana-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/Makefile.am.THIS')
-rw-r--r--src/Makefile.am.THIS39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Makefile.am.THIS b/src/Makefile.am.THIS
new file mode 100644
index 0000000..1a82a18
--- /dev/null
+++ b/src/Makefile.am.THIS
@@ -0,0 +1,39 @@
+pkglibexec_PROGRAMS = indicator-sound-service
+
+indicator_sound_service_SOURCES = \
+ service.vala \
+ main.vala \
+ volume-control.vala \
+ media-player.vala \
+ media-player-list.vala \
+ mpris2-interfaces.vala \
+ freedesktop-interfaces.vala \
+ sound-menu.vala \
+ bus-watch-namespace.c \
+ bus-watch-namespace.h
+
+indicator_sound_service_VALAFLAGS = \
+ --ccode \
+ --vapidir=$(top_srcdir)/vapi/ \
+ --vapidir=./ \
+ --thread \
+ --pkg config \
+ --pkg gio-2.0 \
+ --pkg gio-unix-2.0 \
+ --pkg libxml-2.0 \
+ --pkg libpulse \
+ --pkg libpulse-mainloop-glib \
+ --pkg bus-watcher \
+ --target-glib=2.36
+
+# -w to disable warnings for vala-generated code
+indicator_sound_service_CFLAGS = $(PULSEAUDIO_CFLAGS) \
+ $(SOUNDSERVICE_CFLAGS) \
+ $(GCONF_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ -DLIBEXECDIR=\"$(libexecdir)\" \
+ -w \
+ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\"
+
+indicator_sound_service_LDADD = $(PULSEAUDIO_LIBS) $(SOUNDSERVICE_LIBS) $(GCONF_LIBS)
+indicator_sound_service_LDFLAGS = $(COVERAGE_LDFLAGS)