+%bcond_with x
+%bcond_with wayland
+
Name: crosswalk
-Version: 5.34.92.0
+Version: 5.34.97.0
Release: 0
Summary: Crosswalk is an app runtime based on Chromium
-# License: (BSD-3-Clause and LGPL-2.1+)
-License: BSD-3-Clause
+License: (BSD-3-Clause and LGPL-2.1+)
Group: Web Framework/Web Run Time
Url: https://github.com/otcshare/crosswalk
Source: %{name}.tar
BuildRequires: which
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(appcore-common)
-BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(audio-session-mgr)
BuildRequires: pkgconfig(cairo)
-BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(sensor)
BuildRequires: pkgconfig(vconf)
+%if %{with x}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
-
-# Depending on the Tizen version and profile we are building for, we have
-# different dependencies, patches and gyp options to pass. Checking for
-# specific profiles is not very future-proof. We therefore try to check for
-# either specific features that may be enabled in the current profile (such as
-# Wayland support).
-%bcond_with wayland
+%endif
%if %{with wayland}
BuildRequires: pkgconfig(wayland-client)
%package emulator-support
Summary: Support files necessary for running Crosswalk on the Tizen emulator
-# License: (BSD-3-Clause and LGPL-2.1+)
-License: BSD-3-Clause
+License: (BSD-3-Clause and LGPL-2.1+)
Group: Web Framework/Web Run Time
Url: https://github.com/otcshare/crosswalk
%files
%manifest %{name}.manifest
-# %license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk
+%license AUTHORS.chromium LICENSE.chromium LICENSE.xwalk
%{_bindir}/xwalk
%{_bindir}/xwalkctl
%{_bindir}/xwalk-launcher