1 %if "%{profile}" == "mobile"
4 %define WITH_CBHM FALSE
8 Summary: Tizen keyboard
11 Group: Graphics & UI Framework/Input
13 Source0: ise-default-%{version}.tar.gz
14 BuildRequires: gettext-tools
15 BuildRequires: edje-bin
17 BuildRequires: pkgconfig(elementary)
18 BuildRequires: pkgconfig(vconf)
19 BuildRequires: pkgconfig(dlog)
20 BuildRequires: pkgconfig(libscl-ui)
21 BuildRequires: pkgconfig(ecore-imf)
22 BuildRequires: pkgconfig(libxml-2.0)
23 BuildRequires: pkgconfig(efl-extension)
24 BuildRequires: pkgconfig(libtzplatform-config)
25 BuildRequires: pkgconfig(stt)
26 BuildRequires: pkgconfig(capi-appfw-application)
27 BuildRequires: pkgconfig(capi-media-audio-io)
28 BuildRequires: pkgconfig(capi-ui-inputmethod)
29 %if "%{WITH_CBHM}" == "TRUE"
30 BuildRequires: pkgconfig(cbhm)
32 BuildRequires: model-build-features
36 Description: Tizen keyboard
45 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -fvisibility=hidden"
46 export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden"
47 export FFLAGS+=" -DTIZEN_DEBUG_ENABLE"
49 %if "%{profile}" == "wearable"
50 CFLAGS+=" -D_WEARABLE";
51 CXXFLAGS+=" -D_WEARABLE";
52 %if "%{model_build_feature_formfactor}" == "circle"
54 CXXFLAGS+=" -D_CIRCLE";
58 %if "%{profile}" == "mobile"
60 CXXFLAGS+=" -D_MOBILE";
63 %if "%{profile}" == "tv"
68 %if "%{profile}" == "ivi"
75 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
76 -DTARGET=%{?profile} \
77 -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
78 -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
79 -Dwith_cbhm=%{WITH_CBHM}
89 %files -f %{name}.lang
90 %manifest %{name}.manifest
91 %defattr(-,root,root,-)
93 %{TZ_SYS_RO_PACKAGES}/%{name}.xml