Change-Id: Ia1ce892e6093bc03e18a72e9ce83bb4ad06fd856
%bcond_with wayland
+%bcond_with decrypt
Name: wrt
Summary: Web runtime
Version: 0.8.198.3
BuildRequires: pkgconfig(sysman)
BuildRequires: pkgconfig(app2sd)
BuildRequires: pkgconfig(capi-system-system-settings)
-%if !%{with wayland}
+%if %{with decrypt}
BuildRequires: pkgconfig(osp-appfw)
BuildRequires: osp-appfw-internal-devel
Requires: osp-appfw
-DPROJECT_VERSION=%{version} \
-DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
%if %{with wayland}
- -DDECRYPT_SUPPORT=Off \
-DX11_SUPPORT=Off \
%else
- -DDECRYPT_SUPPORT=On \
-DX11_SUPPORT=On \
%endif
+%if %{with decrypt}
+ -DDECRYPT_SUPPORT=On \
+%else
+ -DDECRYPT_SUPPORT=Off \
+%endif
+
%{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
make %{?jobs:-j%jobs}