Support clipboard 11/103011/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Dec 2016 04:35:58 +0000 (13:35 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Dec 2016 04:35:58 +0000 (13:35 +0900)
Change-Id: Id24ebc1568486b879c25b9a1b5bfa177f660c24f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/ise-default.spec

index 0fd71d5..20f8510 100644 (file)
@@ -1,9 +1,3 @@
-%if "%{profile}" == "mobile"
-%define WITH_CBHM TRUE
-%else
-%define WITH_CBHM FALSE
-%endif
-
 Name:       ise-default
 Summary:    Tizen keyboard
 Version:    1.3.10
@@ -29,6 +23,7 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 BuildRequires:  pkgconfig(stt)
 BuildRequires:  pkgconfig(capi-appfw-application)
 BuildRequires:  pkgconfig(capi-media-audio-io)
+BuildRequires:  pkgconfig(cbhm)
 Requires:       %{name}-compat = %{version}-%{release}
 # This is for old profile-based OBS project optimizations.
 # In 4.0 unified build env, this if statement is always true.
@@ -189,7 +184,8 @@ export CXXFLAGS="${CXXFLAGS_BASE} -D_MOBILE";
 cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
          -DTARGET=mobile \
          -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
-         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
+         -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
+         -Dwith_cbhm=TRUE
 
 make %{?jobs:-j%jobs}
 popd
@@ -235,8 +231,7 @@ export CXXFLAGS="${CXXFLAGS_BASE}";
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
         -DTARGET=common \
         -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
-        -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
-        -Dwith_cbhm=%{WITH_CBHM}
+        -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
 
 make %{?jobs:-j%jobs}
 %endif