Enable PBAP client in wearable profile 01/66301/1 accepted/tizen/common/20160419.143034 submit/tizen/20160418.083741 submit/tizen/20160426.005644
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 18 Apr 2016 08:29:40 +0000 (17:29 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 18 Apr 2016 08:29:40 +0000 (17:29 +0900)
Change-Id: If5dcf63f028111b7d8f40aee54d4353c2f7059bd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/capi-network-bluetooth.spec

index 57acbd8466223b4d3b54d31496a888ac1ae20b19..75e1272c8f97aa71ae7723879c0c4ddbd38213dd 100644 (file)
@@ -73,18 +73,21 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_HFP_DISABLE"
 export FFLAGS="$FFLAGS -DTIZEN_HFP_DISABLE"
 %endif
 
-export CFLAGS="$CFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
-export CXXFLAGS="$CXXFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
-export FFLAGS="$FFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
 
+%if "%{?profile}" == "mobile"
 export CFLAGS="$CFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT"
 export CXXFLAGS="$CXXFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT"
 export FFLAGS="$FFLAGS -DBT_ENABLE_LEGACY_GATT_CLIENT"
+%endif
+
+export CFLAGS="$CFLAGS -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
+export FFLAGS="$FFLAGS -DTIZEN_AUDIO_HF_DISABLE -DTIZEN_IPSP_SUPPORT"
 
 %if "%{?profile}" == "wearable"
-export CFLAGS="$CFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE"
-export FFLAGS="$FFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE"
+export CFLAGS="$CFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE -DTIZEN_WEARABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE -DTIZEN_WEARABLE"
+export FFLAGS="$FFLAGS -DTIZEN_HFP_DISABLE -DTELEPHONY_DISABLED -DTIZEN_HDP_DISABLE -DTIZEN_HID_HOST_DISABLE -DTIZEN_OPP_CLIENT_DISABLE -DTIZEN_OPP_SERVER_DISABLE -DTIZEN_WEARABLE"
 %endif
 %endif # _with_emulator
 
@@ -104,7 +107,7 @@ export FFLAGS+=" -DARCH64"
 
 %cmake \
 %if "%{?profile}" == "wearable"
-#      -DTIZEN_WEARABLE=YES \
+       -DTIZEN_WEARABLE=YES \
 %else
 %if "%{?profile}" == "tv"
        -DTIZEN_TV=YES \