Build RDP backend if we have new enough freerdp (#991220)

main
Adam Jackson 11 years ago
parent 337d39da58
commit 62a75fa248
  1. 18
      weston.spec

@ -1,8 +1,12 @@
#define gitdate 20130515 #define gitdate 20130515
%if 0%{?fedora} >= 21
%define with_rdp 1
%endif
Name: weston Name: weston
Version: 1.2.0 Version: 1.2.0
Release: 2%{?alphatag}%{?dist} Release: 3%{?alphatag}%{?dist}
Summary: Reference compositor for Wayland Summary: Reference compositor for Wayland
Group: User Interface/X Group: User Interface/X
License: BSD and CC-BY-SA License: BSD and CC-BY-SA
@ -48,6 +52,9 @@ BuildRequires: poppler-glib-devel
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: lcms2-devel BuildRequires: lcms2-devel
BuildRequires: colord-devel BuildRequires: colord-devel
%if 0%{?with_rdp}
BuildRequires: freerdp-devel >= 1.1.0
%endif
%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
@ -68,7 +75,8 @@ Common headers for weston
%if 1 || 0%{?gitdate} %if 1 || 0%{?gitdate}
autoreconf -ivf autoreconf -ivf
%endif %endif
%configure --disable-static --disable-setuid-install --enable-xwayland %configure --disable-static --disable-setuid-install --enable-xwayland \
%{?with_rdp:--enable-rdp-compositor}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -92,6 +100,9 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
%{_libdir}/weston/drm-backend.so %{_libdir}/weston/drm-backend.so
%{_libdir}/weston/fbdev-backend.so %{_libdir}/weston/fbdev-backend.so
%{_libdir}/weston/headless-backend.so %{_libdir}/weston/headless-backend.so
%if 0%{?with_rdp}
%{_libdir}/weston/rdp-backend.so
%endif
%{_libdir}/weston/tablet-shell.so %{_libdir}/weston/tablet-shell.so
%{_libdir}/weston/wayland-backend.so %{_libdir}/weston/wayland-backend.so
%{_libdir}/weston/x11-backend.so %{_libdir}/weston/x11-backend.so
@ -113,6 +124,9 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
%{_libdir}/pkgconfig/weston.pc %{_libdir}/pkgconfig/weston.pc
%changelog %changelog
* Thu Oct 03 2013 Adam Jackson <ajax@redhat.com> 1.2.0-3
- Build RDP backend if we have new enough freerdp (#991220)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Loading…
Cancel
Save