[packages/freerdp3] - updated to 3.14.1
qboosh
qboosh at pld-linux.org
Tue Mar 25 22:02:49 CET 2025
commit 21c3ae1010d195c112fb2a665c56275e08679fe7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 25 22:00:02 2025 +0100
- updated to 3.14.1
freerdp-opt.patch | 20 --------------------
freerdp3.spec | 21 ++++++++++++++++-----
2 files changed, 16 insertions(+), 25 deletions(-)
---
diff --git a/freerdp3.spec b/freerdp3.spec
index e863a70..de7f0e5 100644
--- a/freerdp3.spec
+++ b/freerdp3.spec
@@ -21,6 +21,7 @@
%bcond_without pulseaudio # Pulseaudio sound support
%bcond_without rdpecam_client # MS-RDPECAM client channel support (requires ffmpeg)
%bcond_without sdl # SDL client
+%bcond_with sdl3 # SDL3 instead of SDL2
%bcond_with soxr # soxr for audio resampling (if without ffmpeg)
%bcond_without systemd # systemd journal support
%bcond_without wayland # Wayland client
@@ -41,20 +42,28 @@
Summary: Remote Desktop Protocol client
Summary(pl.UTF-8): Klient protokołu RDP
Name: freerdp3
-Version: 3.10.3
+Version: 3.14.1
Release: 1
License: Apache v2.0
Group: Applications/Communications
Source0: https://pub.freerdp.com/releases/freerdp-%{version}.tar.xz
-# Source0-md5: f9f644f041569834729fc0fc4bd9b62d
+# Source0-md5: d70f89bd3f84c9b1ec4598e0f06d8f1c
Patch0: freerdp-opt.patch
Patch1: freerdp-gsm.patch
Patch2: freerdp-heimdal.patch
URL: https://www.freerdp.com/
%{?with_opencl:BuildRequires: OpenCL-devel}
-%{?with_sdl:BuildRequires: SDL2-devel >= 2.0}
-%{?with_sdl:BuildRequires: SDL2_image-devel >= 2.0}
-%{?with_sdl:BuildRequires: SDL2_ttf-devel >= 2.0}
+%if %{with sdl}
+%if %{with sdl3}
+BuildRequires: SDL3-devel >= 3.0
+BuildRequires: SDL3_image-devel >= 3.0
+BuildRequires: SDL3_ttf-devel >= 3.0
+%else
+BuildRequires: SDL2-devel >= 2.0.20
+BuildRequires: SDL2_image-devel >= 2.0
+BuildRequires: SDL2_ttf-devel >= 2.0
+%endif
+%endif
%{?with_alsa:BuildRequires: alsa-lib-devel}
%{!?with_ffmpeg:BuildRequires: cairo-devel}
BuildRequires: cjson-devel
@@ -277,6 +286,8 @@ EOF
%{cmake_on_off alsa WITH_ALSA} \
%{!?with_ffmpeg:-DWITH_CAIRO=ON} \
%{cmake_on_off sdl WITH_CLIENT_SDL} \
+ %{?with_sdl3:-DWITH_CLIENT_SDL2=OFF} \
+ %{!?with_sdl3:-DWITH_CLIENT_SDL3=OFF} \
%{cmake_on_off sdl WITH_SDL_IMAGE_DIALOGS} \
-DWITH_CUNIT=OFF \
%{cmake_on_off cups WITH_CUPS} \
diff --git a/freerdp-opt.patch b/freerdp-opt.patch
index 64e61c9..8f3bf50 100644
--- a/freerdp-opt.patch
+++ b/freerdp-opt.patch
@@ -1,23 +1,3 @@
-diff -up freerdp-3.10.2/CMakeLists.txt.orig freerdp-3.10.2/CMakeLists.txt
---- freerdp-3.10.2/CMakeLists.txt.orig 2025-01-07 18:49:01.377874043 +0100
-+++ freerdp-3.10.2/CMakeLists.txt 2025-01-07 18:51:50.803487531 +0100
-@@ -210,15 +210,6 @@ endif(EXPORT_ALL_SYMBOLS)
-
- # Compiler-specific flags
- if(CMAKE_COMPILER_IS_GNUCC)
-- if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "i686")
-- check_symbol_exists(__x86_64__ "" IS_X86_64)
-- if(IS_X86_64)
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
-- else()
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686")
-- endif()
-- endif()
--
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-
- if(NOT EXPORT_ALL_SYMBOLS)
-diff -up freerdp-3.10.2/cmake/CommonConfigOptions.cmake._orig freerdp-3.10.2/cmake/CommonConfigOptions.cmake
--- freerdp-3.10.2/cmake/CommonConfigOptions.cmake._orig 2024-12-16 14:22:36.000000000 +0100
+++ freerdp-3.10.2/cmake/CommonConfigOptions.cmake 2025-01-07 19:02:10.879654349 +0100
@@ -30,7 +30,7 @@ if(NOT ANDROID)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/freerdp3.git/commitdiff/21c3ae1010d195c112fb2a665c56275e08679fe7
More information about the pld-cvs-commit
mailing list