Build RDP backend if we have new enough freerdp (#991220)
This commit is contained in:
+16
-2
@@ -1,8 +1,12 @@
|
||||
#define gitdate 20130515
|
||||
|
||||
%if 0%{?fedora} >= 21
|
||||
%define with_rdp 1
|
||||
%endif
|
||||
|
||||
Name: weston
|
||||
Version: 1.2.0
|
||||
Release: 2%{?alphatag}%{?dist}
|
||||
Release: 3%{?alphatag}%{?dist}
|
||||
Summary: Reference compositor for Wayland
|
||||
Group: User Interface/X
|
||||
License: BSD and CC-BY-SA
|
||||
@@ -48,6 +52,9 @@ BuildRequires: poppler-glib-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: lcms2-devel
|
||||
BuildRequires: colord-devel
|
||||
%if 0%{?with_rdp}
|
||||
BuildRequires: freerdp-devel >= 1.1.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
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}
|
||||
autoreconf -ivf
|
||||
%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}
|
||||
|
||||
%install
|
||||
@@ -92,6 +100,9 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
||||
%{_libdir}/weston/drm-backend.so
|
||||
%{_libdir}/weston/fbdev-backend.so
|
||||
%{_libdir}/weston/headless-backend.so
|
||||
%if 0%{?with_rdp}
|
||||
%{_libdir}/weston/rdp-backend.so
|
||||
%endif
|
||||
%{_libdir}/weston/tablet-shell.so
|
||||
%{_libdir}/weston/wayland-backend.so
|
||||
%{_libdir}/weston/x11-backend.so
|
||||
@@ -113,6 +124,9 @@ find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
||||
%{_libdir}/pkgconfig/weston.pc
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user