%define extra_config_options3 --enable-sys-uid --disable-ivi-shell
Name: weston
-Version: 1.8.0
+Version: 5.0.0
Release: 0
Summary: Wayland Compositor Infrastructure
License: MIT
BuildRequires: pkgconfig(libva)
%endif
BuildRequires: pkgconfig(mtdev) >= 1.1.0
-BuildRequires: pkgconfig(pangocairo)
+#BuildRequires: pkgconfig(pangocairo)
+BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(wayland-client)
install -m 755 weston-image %{buildroot}%{_bindir}
install -m 755 weston-cliptest %{buildroot}%{_bindir}
install -m 755 weston-dnd %{buildroot}%{_bindir}
-install -m 755 weston-editor %{buildroot}%{_bindir}
+#install -m 755 weston-editor %{buildroot}%{_bindir}
install -m 755 weston-stacking %{buildroot}%{_bindir}
install -m 755 weston-smoke %{buildroot}%{_bindir}
install -m 755 weston-scaler %{buildroot}%{_bindir}
%{_libexecdir}/weston-*
%{_libdir}/weston/desktop-shell.so
%if !%{with mobile}
-%{_libdir}/weston/drm-backend.so
+%{_libdir}/libweston-5/drm-backend.so
%endif
-%{_libdir}/weston/fbdev-backend.so
+%{_libdir}/libweston-5/fbdev-backend.so
%{_libdir}/weston/fullscreen-shell.so
-%{_libdir}/weston/headless-backend.so
-%{_libdir}/weston/wayland-backend.so
-%{_libdir}/weston/gl-renderer.so
+%{_libdir}/libweston-5/headless-backend.so
+%{_libdir}/libweston-5/wayland-backend.so
+%{_libdir}/libweston-5/gl-renderer.so
+%{_libdir}/libweston-5.*
+%{_libdir}/libweston-desktop-5.*
%{_datadir}/weston
# exclude ivi-shell-specific files
-%exclude %{_libexecdir}/weston-ivi-shell-user-interface
+#%exclude %{_libexecdir}/weston-ivi-shell-user-interface
%exclude %{_datadir}/weston/background.png
%exclude %{_datadir}/weston/panel.png
%exclude %{_datadir}/weston/tiling.png
%manifest %{name}.manifest
%{_includedir}/weston/*.h
%{_libdir}/pkgconfig/*.pc
+%{_includedir}/libweston-5/*.h
%files clients
%manifest %{name}.manifest
%{_bindir}/weston-image
%{_bindir}/weston-cliptest
%{_bindir}/weston-dnd
-%{_bindir}/weston-editor
+#%{_bindir}/weston-editor
%{_bindir}/weston-stacking
%{_bindir}/weston-smoke
%{_bindir}/weston-scaler