bluetooth: Revive module-bluetooth-discover

Create a wrapper module called module-bluetooth-discover to avoid
breaking backward-compatibility of default.pa. This wrapper may
eventually be dropped altoghether with BlueZ 4 support.
This commit is contained in:
João Paulo Rechi Vita 2013-09-24 19:45:59 -03:00 committed by Tanu Kaskinen
parent 1ea8a2bdae
commit 8753b8c147
2 changed files with 86 additions and 0 deletions

View file

@ -1322,6 +1322,7 @@ endif
if HAVE_BLUEZ
modlibexec_LTLIBRARIES += \
module-bluetooth-discover.la \
module-bluetooth-policy.la
endif
@ -1426,6 +1427,7 @@ SYMDEF_FILES = \
module-udev-detect-symdef.h \
module-systemd-login-symdef.h \
module-bluetooth-policy-symdef.h \
module-bluetooth-discover-symdef.h \
module-bluez4-discover-symdef.h \
module-bluez4-device-symdef.h \
module-bluez5-discover-symdef.h \
@ -2031,6 +2033,12 @@ module_bluetooth_policy_la_LDFLAGS = $(MODULE_LDFLAGS)
module_bluetooth_policy_la_LIBADD = $(MODULE_LIBADD)
module_bluetooth_policy_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
# Bluetooth discover
module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
module_bluetooth_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
module_bluetooth_discover_la_LIBADD = $(MODULE_LIBADD)
module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS)
# Bluetooth BlueZ 4 sink / source
module_bluez4_discover_la_SOURCES = modules/bluetooth/module-bluez4-discover.c
module_bluez4_discover_la_LDFLAGS = $(MODULE_LDFLAGS)