add requires mesa-dri-drivers

main
Pokorra, Gerd 5 years ago
parent e2b3463e80
commit 73e7757c43
  1. 17
      weston.spec

@ -1,8 +1,9 @@
%global apiver 8 %global apiver 8
%global meson_prob 1
Name: weston Name: weston
Version: %{apiver}.0.0 Version: %{apiver}.0.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Reference compositor for Wayland Summary: Reference compositor for Wayland
License: BSD and CC-BY-SA License: BSD and CC-BY-SA
@ -10,6 +11,9 @@ URL: http://wayland.freedesktop.org/
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
%if %meson_prob
BuildRequires: g++
%endif
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libjpeg-turbo-devel BuildRequires: libjpeg-turbo-devel
BuildRequires: pam-devel BuildRequires: pam-devel
@ -64,6 +68,7 @@ BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: pipewire-devel BuildRequires: pipewire-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: mesa-dri-drivers
%description %description
Weston is the reference wayland compositor that can run on KMS, under X11 Weston is the reference wayland compositor that can run on KMS, under X11
@ -94,7 +99,11 @@ Common headers for weston
%setup -q %setup -q
%build %build
%if %{meson_prob}
%meson -Dpipewire=false
%else
%meson %meson
%endif
%meson_build %meson_build
%install %install
@ -146,7 +155,9 @@ Common headers for weston
%{_libdir}/libweston-%{apiver}/fbdev-backend.so %{_libdir}/libweston-%{apiver}/fbdev-backend.so
%{_libdir}/libweston-%{apiver}/gl-renderer.so %{_libdir}/libweston-%{apiver}/gl-renderer.so
%{_libdir}/libweston-%{apiver}/headless-backend.so %{_libdir}/libweston-%{apiver}/headless-backend.so
%if !%{meson_prob}
%{_libdir}/libweston-%{apiver}/pipewire-plugin.so %{_libdir}/libweston-%{apiver}/pipewire-plugin.so
%endif
%{_libdir}/libweston-%{apiver}/remoting-plugin.so %{_libdir}/libweston-%{apiver}/remoting-plugin.so
%{_libdir}/libweston-%{apiver}/rdp-backend.so %{_libdir}/libweston-%{apiver}/rdp-backend.so
%{_libdir}/libweston-%{apiver}/wayland-backend.so %{_libdir}/libweston-%{apiver}/wayland-backend.so
@ -196,6 +207,10 @@ Common headers for weston
%{_datadir}/libweston-%{apiver}/protocols/ %{_datadir}/libweston-%{apiver}/protocols/
%changelog %changelog
* Tue Feb 18 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 8.0.0-3
- Add requires mesa-dri-drivers
- Work around at some meson build problem in rawhide
* Fri Feb 07 2020 Simone Caronni <negativo17@gmail.com> - 8.0.0-2 * Fri Feb 07 2020 Simone Caronni <negativo17@gmail.com> - 8.0.0-2
- Rebuild for updated FreeRDP. - Rebuild for updated FreeRDP.

Loading…
Cancel
Save