[packages/ka5-krdc] - added rdp.patch (do not require freerdp binary at build time) - rel 1.1
witekfl
witekfl at pld-linux.org
Fri Jul 23 15:11:58 CEST 2021
commit 4bd8ec75794bdde555413a302e81e60e2973759d
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Jul 23 15:10:57 2021 +0200
- added rdp.patch (do not require freerdp binary at build time)
- rel 1.1
ka5-krdc.spec | 9 ++++++++-
rdp.patch | 11 +++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/ka5-krdc.spec b/ka5-krdc.spec
index 4184b48..7460d9d 100644
--- a/ka5-krdc.spec
+++ b/ka5-krdc.spec
@@ -5,11 +5,12 @@
Summary: krdc
Name: ka5-%{kaname}
Version: 21.04.3
-Release: 1
+Release: 1.1
License: GPL v2+/LGPL v2.1+
Group: X11/Applications
Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
# Source0-md5: e5827992c20e206f9ec8e61d43f52dfc
+Patch0: rdp.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: gettext-devel
@@ -55,6 +56,7 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%prep
%setup -q -n %{kaname}-%{version}
+%patch0 -p1
%build
install -d build
@@ -96,6 +98,11 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/qt5/plugins/krdc/libkrdc_vncplugin.so
%{_datadir}/kservices5/krdc_vnc_config.desktop
%{_datadir}/kservices5/vnc.protocol
+%attr(755,root,root) %{_libdir}/qt5/plugins/krdc/kcms/libkcm_krdc_rdpplugin.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/krdc/libkrdc_rdpplugin.so
+%{_datadir}/kservices5/ServiceMenus/smb2rdc.desktop
+%{_datadir}/kservices5/krdc_rdp_config.desktop
+%{_datadir}/kservices5/rdp.protocol
%files devel
%defattr(644,root,root,755)
diff --git a/rdp.patch b/rdp.patch
new file mode 100644
index 0000000..493864c
--- /dev/null
+++ b/rdp.patch
@@ -0,0 +1,11 @@
+diff -up krdc-21.04.3/rdp/CMakeLists.txt.orig krdc-21.04.3/rdp/CMakeLists.txt
+--- krdc-21.04.3/rdp/CMakeLists.txt.orig 2021-07-05 21:21:04.000000000 +0200
++++ krdc-21.04.3/rdp/CMakeLists.txt 2021-07-23 15:05:33.484235818 +0200
+@@ -1,6 +1,4 @@
+-if(FREERDP_EXECUTABLE_FOUND)
+- set(HAVE_XFREERDP true)
+-endif(FREERDP_EXECUTABLE_FOUND)
++set(HAVE_XFREERDP true)
+
+ if(HAVE_XFREERDP)
+ add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5012)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-krdc.git/commitdiff/4bd8ec75794bdde555413a302e81e60e2973759d
More information about the pld-cvs-commit
mailing list