summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-03-08 21:20:39 +0800
committerKhem Raj <raj.khem@gmail.com>2023-03-09 09:10:52 -0800
commita393e5b30dd66e6d1b8798e7a33c82a1ab15cdc3 (patch)
tree683e54f7a3be8bc32323b68649f85d7bd61149ae /meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb
parent81a8951a56f289b8f8c628fc675a308044444a5c (diff)
downloadmeta-openembedded-a393e5b30dd66e6d1b8798e7a33c82a1ab15cdc3.tar.gz
freerdp: upgrade 2.9.0 -> 2.10.0
0001-Fix-incompatible-function-pointer-types.patch removed since it's included in 2.10.0 Changelog: =========== Notewhorth changes: ------------------- * Fix android build scripts, use CMake from SDK * Fix connection negotiation with mstsc/msrdc #8426 * [ntlm]: use rfc5929 binding hash algorithm #8430 * [channels,printer] Fixed reference counting #8433 * Fix uwac pixman #8439 * Fix Rdp security #8457 * [client,x11] Detect key autorepeat #8522 * [build] add channel path to RPATH #8551 * Fix build with BUILTIN_CHANNELS=OFF #8560 * revert changes so that the osmajortype/osminortype is not overwritten #8571 * [uwac] do not use iso C functions #8604 * [winpr,sam] fix inalid NULL arguments #8605 * Fix incompatible function pointer types #8625 Fixed issues: ------------- * Backported #8581: Ignore data PDUs for DVCs that were not opened successfully * Backported #8498: [channel,urbdrc] fix type of usb hotplug callback * Backported #8537: Extended info enforce limits * Backported #8611: [core] add missing redirection fields Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb')
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb86
1 files changed, 86 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb b/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb
new file mode 100644
index 0000000000..a1bf67ca11
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb
@@ -0,0 +1,86 @@
1# Copyright (C) 2010-2012 O.S. Systems Software Ltda. All Rights Reserved
2# Released under the MIT license
3
4DESCRIPTION = "FreeRDP RDP client & server library"
5HOMEPAGE = "http://www.freerdp.com"
6DEPENDS = "openssl alsa-lib libusb1"
7SECTION = "net"
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
10
11inherit pkgconfig cmake gitpkgv
12
13PE = "1"
14PKGV = "${GITPKGVTAG}"
15
16SRCREV = "7471ae383e7b7a613f275e19f7b54958a193c891"
17SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \
18 file://winpr-makecert-Build-with-install-RPATH.patch \
19 "
20
21S = "${WORKDIR}/git"
22
23EXTRA_OECMAKE += " \
24 -DWITH_ALSA=ON \
25 -DWITH_FFMPEG=OFF \
26 -DWITH_CUNIT=OFF \
27 -DWITH_NEON=OFF \
28 -DBUILD_STATIC_LIBS=OFF \
29 -DCMAKE_POSITION_INDEPENDANT_CODE=ON \
30 -DWITH_MANPAGES=OFF \
31"
32
33PACKAGECONFIG ??= " \
34 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\
35 gstreamer cups pcsc server \
36"
37
38X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr libxkbfile"
39PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON -DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XFIXES=ON -DWITH_XDAMAGE=ON -DWITH_XRANDR=ON -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}"
40PACKAGECONFIG[wayland] = "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native libxkbcommon"
41PACKAGECONFIG[directfb] = "-DWITH_DIRECTFB=ON,-DWITH_DIRECTFB=OFF,directfb"
42PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam"
43PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite"
44PACKAGECONFIG[pulseaudio] = "-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio"
45PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base"
46PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
47PACKAGECONFIG[server] = "-DWITH_SERVER=ON,-DWITH_SERVER=OFF"
48
49PACKAGES =+ "libfreerdp"
50
51LEAD_SONAME = "libfreerdp.so"
52FILES:libfreerdp = "${libdir}/lib*${SOLIBS}"
53
54PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
55
56# we will need winpr-makecert to generate TLS certificates
57do_install:append () {
58 install -d ${D}${bindir}
59 install -m755 winpr/tools/makecert-cli/winpr-makecert ${D}${bindir}
60 rm -rf ${D}${libdir}/cmake
61 rm -rf ${D}${libdir}/freerdp
62}
63
64python populate_packages:prepend () {
65 freerdp_root = d.expand('${libdir}/freerdp')
66
67 do_split_packages(d, freerdp_root, r'^(audin_.*)\.so$',
68 output_pattern='libfreerdp-plugin-%s',
69 description='FreeRDP plugin %s',
70 prepend=True, extra_depends='libfreerdp-plugin-audin')
71
72 do_split_packages(d, freerdp_root, r'^(rdpsnd_.*)\.so$',
73 output_pattern='libfreerdp-plugin-%s',
74 description='FreeRDP plugin %s',
75 prepend=True, extra_depends='libfreerdp-plugin-rdpsnd')
76
77 do_split_packages(d, freerdp_root, r'^(tsmf_.*)\.so$',
78 output_pattern='libfreerdp-plugin-%s',
79 description='FreeRDP plugin %s',
80 prepend=True, extra_depends='libfreerdp-plugin-tsmf')
81
82 do_split_packages(d, freerdp_root, r'^([^-]*)\.so$',
83 output_pattern='libfreerdp-plugin-%s',
84 description='FreeRDP plugin %s',
85 prepend=True, extra_depends='')
86}