# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source
+Enable=Gateway,Socket
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
-[Headset]
+#[Headset]
# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=true
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
-MaxConnected=1
+#MaxConnected=1
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
+++ /dev/null
---- bluez-4.98_bak/audio/audio.conf 2012-02-21 17:04:03.000000000 +0800
-+++ bluez-4.98/audio/audio.conf 2012-03-27 12:36:02.200516529 +0800
-@@ -3,56 +3,4 @@
- # This section contains options which are not specific to any
- # particular interface
- [General]
--
--# Switch to master role for incoming connections (defaults to true)
--#Master=true
--
--# If we want to disable support for specific services
--# Defaults to supporting all implemented services
--#Disable=Control,Source
--
--#ifdef __TIZEN_PATCH__
--Enable=Socket
--#endif
--
--# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
--#ifdef __TIZEN_PATCH__
--SCORouting=PCM
--#else
--# Defaults to HCI
--#SCORouting=PCM
--#endif
--
--# Automatically connect both A2DP and HFP/HSP profiles for incoming
--# connections. Some headsets that support both profiles will only connect the
--# other one automatically so the default setting of true is usually a good
--# idea.
--#AutoConnect=true
--
--# Headset interface specific options (i.e. options which affect how the audio
--# service interacts with remote headset devices)
--[Headset]
--
--# Set to true to support HFP, false means only HSP is supported
--# Defaults to true
--HFP=true
--
--# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
--MaxConnected=1
--
--# Set to true to enable use of fast connectable mode (faster page scanning)
--# for HFP when incomming call starts. Default settings are restored after
--# call is answered or rejected. Page scan interval is much shorter and page
--# scan type changed to interlaced. Such allows faster connection initiated
--# by a headset.
--FastConnectable=false
--
--# Just an example of potential config options for the other interfaces
--#ifdef __TIZEN_PATCH__
--[A2DP]
--SBCSources=1
--#else
--#[A2DP]
--#SBCSources=1
--#MPEG12Sources=0
--#endif
-+Enable=Gateway,Socket
---- bluez-4.98_bak/Makefile.am 2012-02-21 17:04:03.000000000 +0800
-+++ bluez-4.98/Makefile.am 2012-03-27 12:36:47.960512742 +0800
-@@ -331,6 +331,7 @@
-
- if DATAFILES
- conf_DATA += src/main.conf
-+conf_DATA += audio/audio.conf
- endif
-
- EXTRA_DIST += src/genbuiltin src/bluetooth.conf \
URL: http://www.bluez.org/
Source0: %{name}-%{version}.tar.gz
Source1: bluetooth.service
-Patch1: audio_conf.patch
Requires: bluez-libs = %{version}
Requires: dbus >= 0.60
Requires: usbutils
%prep
%setup -q -n %{name}-%{version}
-#audio_conf.patch
-%patch1 -p1
-
export CFLAGS="${CFLAGS} -D__TIZEN_PATCH__ -D__BROADCOM_PATCH__"
%reconfigure --disable-static \
--localstatedir=/opt/var \