Change build option 59/96159/1
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 8 Nov 2016 05:17:29 +0000 (14:17 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 8 Nov 2016 05:18:11 +0000 (14:18 +0900)
[Version] 0.2.8
[Profile] Common
[Issue Type] Fix bugs

Change-Id: I02da57e461bc4af5eafac7ed3a3810809d1e6e42

packaging/libmm-radio.spec

index af55638..15a8393 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-radio
 Summary:    Multimedia Framework Radio Library
-Version:    0.2.7
+Version:    0.2.8
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -13,7 +13,7 @@ BuildRequires:  pkgconfig(mm-log)
 BuildRequires:  pkgconfig(mm-session)
 BuildRequires:  pkgconfig(mm-sound)
 BuildRequires:  pkgconfig(capi-media-sound-manager)
-%if "%{tizen_target_name}" != "TM1"
+%ifnarch %{arm}
 BuildRequires:  pkgconfig(gstreamer-1.0)
 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
 %endif
@@ -38,12 +38,12 @@ cp %{SOURCE1001} .
 ./autogen.sh
 
 export CFLAGS=" %{optflags} -Wall -DGST_EXT_TIME_ANALYSIS -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" -Werror"
-%if "%{tizen_target_name}" == "TM1"
+%ifarch %{arm}
 export CFLAGS="$CFLAGS -DTIZEN_FEATURE_RADIO_HAL"
 %endif
 
 %configure \
-%if "%{tizen_target_name}" != "TM1"
+%ifnarch %{arm}
 --enable-emulator \
 %endif
 --enable-sound-focus \