[packages/remmina] - fixed conditional build of NX plugin

mrozowik mrozowik at pld-linux.org
Mon Jul 27 18:32:46 CEST 2020


commit 7fc1103f9a23719e75286b59270f00619497eb06
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Mon Jul 27 16:32:30 2020 +0000

    - fixed conditional build of NX plugin

 remmina.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/remmina.spec b/remmina.spec
index 6b51112..ed74147 100644
--- a/remmina.spec
+++ b/remmina.spec
@@ -42,7 +42,7 @@ BuildRequires:	libappindicator-gtk3-devel
 BuildRequires:	libgcrypt-devel
 %{?with_secret:BuildRequires:	libsecret-devel}
 BuildRequires:	libsoup-devel
-BuildRequires:	libssh-devel >= 0.6
+%{?with_nx:BuildRequires:	libssh-devel >= 0.6}
 %{?with_vnc:BuildRequires:	libvncserver-devel}
 BuildRequires:	rpmbuild(macros) >= 1.742
 %{?with_spice:BuildRequires:	spice-gtk-devel}
@@ -216,7 +216,8 @@ mkdir -p build
 	%{cmake_on_off rdp FREERDP} \
 	-DWITH_GCRYPT=ON \
 	-DWITH_GETTEXT=ON \
-	-DWITH_LIBSSH=ON \
+	-DWITH_LIBSSH=OFF \
+	%{cmake_on_off nx WITH_LIBSSH} \
 	%{cmake_on_off vnc LIBVNCSERVER} \
 	%{cmake_on_off spice SPICE} \
 	%{cmake_on_off telepathy TELEPATHY} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/remmina.git/commitdiff/7fc1103f9a23719e75286b59270f00619497eb06



More information about the pld-cvs-commit mailing list