FreeRDP: Update to 2.4.1; improve the port a bit.

This commit is contained in:
Augustin Cavalier
2021-11-19 14:10:04 -05:00
parent d43090c9ad
commit ff8f5d7c13
2 changed files with 1353 additions and 20 deletions

View File

@@ -1,17 +1,16 @@
SUMMARY="Free implementation of the Remote Desktop Protocol"
DESCRIPTION="FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), \
released under the Apache license.
Enjoy the freedom of using your software wherever you want, the way you want it, in \
a world where interoperability can finally liberate your computing experience."
HOMEPAGE="http://rdesktop.org"
released under the Apache license. Enjoy the freedom of using your software wherever \
you want, the way you want it, in a world where interoperability can finally \
liberate your computing experience."
HOMEPAGE="https://freerdp.com"
COPYRIGHT="FreeRDP team"
LICENSE="Apache v2"
REVISION="3"
srcGitRev="a51e5a9084917f88941a9bfe7d4c18b7afb0d750"
SOURCE_URI="https://github.com/FreeRDP/FreeRDP/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="b5a7f3e90d05ff246dc966bbb9de1d6ec92934ef5c66c2e60da54b1e38b2cad6"
SOURCE_DIR="FreeRDP-$srcGitRev"
PATCHES="freerdp-2.0.0~git.patchset"
REVISION="1"
SOURCE_URI="https://github.com/FreeRDP/FreeRDP/releases/download/$portVersion/freerdp-$portVersion.tar.gz"
CHECKSUM_SHA256="ef75c87926643a0d0041f6556e343ac037380d4260c64885e7cdd20da0147edf"
SOURCE_DIR="freerdp-$portVersion"
PATCHES="freerdp-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -33,7 +32,6 @@ REQUIRES="
lib:libavutil$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libexecinfo$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
@@ -58,7 +56,6 @@ BUILD_REQUIRES="
devel:libavutil$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libexecinfo$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -75,21 +72,17 @@ BUILD()
{
mkdir -p build
cd build
LDFLAGS=-Wl,--no-undefined \
cmake .. $cmakeDirArgs \
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
-DCMAKE_INSTALL_LIBDIR=$libDir \
-DCMAKE_INSTALL_BINDIR:PATH=$binDir \
-DCMAKE_INSTALL_SBINDIR:PATH=$binDir \
-DCMAKE_INSTALL_LIBEXECDIR:PATH=$binDir \
-DCMAKE_CXX_FLAGS:STRING=-D_BSD_SOURCE \
-DCMAKE_C_FLAGS:STRING=-D_BSD_SOURCE \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_GSTREAMER_1_0=OFF \
-DWITH_FFMPEG=ON \
-DWITH_SWSCALE=ON \
-DWITH_JPEG=ON \
-DWITH_CUPS=OFF \
-DWITH_OSS=OFF \
-DWITH_PULSE=OFF \
-DCHANNEL_URBDRC=OFF \
-DBUILD_SHARED_LIBS=ON
make $jobArgs
}

File diff suppressed because it is too large Load Diff