[pulseaudio-discuss] [PATCH 41/56] bluetooth: Create module-bluez5-device

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Jul 22 07:43:55 PDT 2013


On Fri, 2013-07-12 at 15:06 -0300, jprvita at gmail.com wrote:
> From: João Paulo Rechi Vita <jprvita at openbossa.org>
> 
> ---
>  src/Makefile.am                              |  9 +++++-
>  src/modules/bluetooth/module-bluez5-device.c | 43 ++++++++++++++++++++++++++++
>  2 files changed, 51 insertions(+), 1 deletion(-)
>  create mode 100644 src/modules/bluetooth/module-bluez5-device.c
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 0458a57..bacbdb5 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -1334,7 +1334,8 @@ if HAVE_BLUEZ_5
>  modlibexec_LTLIBRARIES += \
>  		module-bluetooth-policy.la \
>  		libbluez5-util.la \
> -		module-bluez5-discover.la
> +		module-bluez5-discover.la \
> +		module-bluez5-device.la
>  endif
>  
>  if HAVE_OPENSSL
> @@ -1426,6 +1427,7 @@ SYMDEF_FILES = \
>  		module-bluez4-discover-symdef.h \
>  		module-bluez4-device-symdef.h \
>  		module-bluez5-discover-symdef.h \
> +		module-bluez5-device-symdef.h \
>  		module-raop-sink-symdef.h \
>  		module-raop-discover-symdef.h \
>  		module-gconf-symdef.h \
> @@ -2063,6 +2065,11 @@ module_bluez5_discover_la_LDFLAGS = $(MODULE_LDFLAGS)
>  module_bluez5_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluez5-util.la
>  module_bluez5_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
>  
> +module_bluez5_device_la_SOURCES = modules/bluetooth/module-bluez5-device.c
> +module_bluez5_device_la_LDFLAGS = $(MODULE_LDFLAGS)
> +module_bluez5_device_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) $(SBC_LIBS) libbluez5-util.la
> +module_bluez5_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) $(SBC_CFLAGS)

Are DBUS_LIBS/FLAGS really needed? I would expect not - bluez5-util
should take care of the D-Bus stuff.

-- 
Tanu



More information about the pulseaudio-discuss mailing list