From 8775a7d8047c44b86eb90c6000cf4788a8e01a61 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 3 Apr 2018 11:30:30 +0200 Subject: [PATCH] Build with FreeRDP 1.2 FreeRDP 2.0 changed API again and weston no longer builds against it. This reverts commit 002cd14f5539846c42b9f271c7ab5a490f887443. --- weston.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/weston.spec b/weston.spec index 0895f61..5ba1ea0 100644 --- a/weston.spec +++ b/weston.spec @@ -18,7 +18,6 @@ BuildRequires: pkgconfig(cairo-xcb) BuildRequires: pkgconfig(colord) >= 0.1.27 BuildRequires: pkgconfig(dbus-1) >= 1.6 BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(freerdp2) >= 2.0.0 BuildRequires: pkgconfig(gbm) >= 10.2 BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(lcms2) @@ -56,6 +55,12 @@ BuildRequires: pkgconfig(xkbcommon) BuildRequires: poppler-devel BuildRequires: poppler-glib-devel +%if 0%{?fedora} +BuildRequires: freerdp1.2-devel +%else +BuildRequires: pkgconfig(freerdp2) >= 2.0.0 +%endif + Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description @@ -150,6 +155,7 @@ find %{buildroot} -name \*.la -delete * Tue Apr 03 2018 Kalev Lember - 3.0.93-1 - Update to 3.0.93 - Remove ldconfig scriptlets +- Build with FreeRDP 1.2 * Tue Mar 20 2018 Kalev Lember - 3.0.92-1 - Update to 3.0.92