%if "%{?profile}" == "wearable"
%define PROFILE wearable
-%if "%_repository" == "target-circle" || "%_repository" == "emulator-circle"
- %define FORMFACTOR circle
-%else
- %define FORMFACTOR rectangle
-%endif
#Main applicaitons
%define powerkey_popup on
%define overheat_popup off
BuildRequires: pkgconfig(capi-media-wav-player)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: model-build-features
+
+%if "%{?model_build_feature_formfactor}" == "circle"
+ %define FORMFACTOR circle
+%else
+ %define FORMFACTOR rectangle
+%endif
%if %{with x}
BuildRequires: pkgconfig(ecore-x)