%define extra_config_options3 --enable-sys-uid
%endif
+%if "%{profile}" == "ivi"
+%define extra_config_options4 --enable-multiseat
+%endif
+
Name: weston
Version: 1.6.0
Release: 0
#Git-Clone: git://anongit.freedesktop.org/wayland/weston
#Git-Web: http://cgit.freedesktop.org/wayland/weston/
Source0: %name-%version.tar.xz
-Source1: %name.target
-Source1001: %name.manifest
+Source1001: %name.manifest
BuildRequires: autoconf >= 2.64, automake >= 1.11
BuildRequires: expat-devel
BuildRequires: libjpeg-devel
--with-cairo=glesv2 \
%{?extra_config_options1:%extra_config_options1} \
%{?extra_config_options2:%extra_config_options2} \
- %{?extra_config_options3:%extra_config_options3}
+ %{?extra_config_options3:%extra_config_options3} \
+ %{?extra_config_options4:%extra_config_options4}
make %{?_smp_mflags}
install -m 755 weston-fullscreen %{buildroot}%{_bindir}
-install -d %{buildroot}%{_unitdir_user}
-install -m 644 %{SOURCE1} %{buildroot}%{_unitdir_user}/weston.target
# The weston.service unit file must be provided by the weston-startup
# virtual package, i.e. "Provide: weston-startup". The weston-startup
# virtual package requirement is intended to force Tizen profile
%{_libdir}/weston/wayland-backend.so
%{_libdir}/weston/gl-renderer.so
%{_datadir}/weston
-%{_unitdir_user}/weston.target
%files devel
%manifest %{name}.manifest