From 62a75fa2485d46e5fffbac2a66306a1fbea6329c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 3 Oct 2013 10:22:24 -0400 Subject: [PATCH] Build RDP backend if we have new enough freerdp (#991220) --- weston.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/weston.spec b/weston.spec index 05a89be..3768f62 100644 --- a/weston.spec +++ b/weston.spec @@ -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 1.2.0-3 +- Build RDP backend if we have new enough freerdp (#991220) + * Sun Aug 04 2013 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild