v2 removes fuse3 as a hard dependency. ffmpeg is still needed in any
case because of swscale
On Tue, Mar 19 2024 at 10:27:58 AM +01:00:00, Markus Volk
<f_...@t-online.de> wrote:
freerdp3 is required to build gnome-remote-desktop-46.0
Signed-off-by: Markus Volk <f_...@t-online.de
<mailto:f_...@t-online.de>>
---
.../recipes-support/freerdp/freerdp3_3.4.0.bb | 59
+++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
new file mode 100644
index 000000000..f04be56c6
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
@@ -0,0 +1,59 @@
+DESCRIPTION = "FreeRDP RDP client & server library"
+HOMEPAGE = "http://www.freerdp.com <http://www.freerdp.com/>"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =
"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
<file://license;md5=3b83ef96387f14655fc854ddc3c6bd57/>
+
+DEPENDS = "openssl ffmpeg libusb1 uriparser cairo icu pkcs11-helper
zlib jpeg"
+
+inherit pkgconfig cmake
+
+SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7"
+SRC_URI =
"git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https"
+
+S = "${WORKDIR}/git"
+
+PACKAGECONFIG ??= " \
+ ${@bb.utils.filter
<mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'pam pulseaudio
wayland x11', d)} \
+ gstreamer cups pcsc \
+"
+
+EXTRA_OECMAKE = " \
+ -DRDTK_FORCE_STATIC_BUILD=ON \
+ -DUWAC_FORCE_STATIC_BUILD=ON \
+ -DWITH_ADD=ON \
+ -DWITH_BINARY_VERSIONING=ON \
+ -DWITH_CHANNELS=ON \
+ -DWITH_CLIENT_CHANNELS=ON \
+ -DWITH_JPEG=ON \
+ -DWITH_PKCS11=ON \
+ -DWITH_SERVER_CHANNELS=ON \
+ -DWITH_SERVER=ON \
+ -DPKG_CONFIG_RELOCATABLE=OFF \
+ -DWITH_ALSA=OFF \
+ -DWITH_CLIENT_SDL=OFF \
+ -DWITH_SAMPLE=OFF \
+ "
+
+X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv
libxi libxrender libxfixes libxdamage libxrandr libxkbfile"
+PACKAGECONFIG[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}"
+PACKAGECONFIG[wayland] =
"-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native
libxkbcommon"
+PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam"
+PACKAGECONFIG[pulseaudio] =
"-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio"
+PACKAGECONFIG[gstreamer] =
"-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0
gstreamer1.0-plugins-base"
+PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
+PACKAGECONFIG[fuse] = "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3"
+PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite"
+PACKAGECONFIG[manpages] = "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF,
libxslt-native docbook-xsl-stylesheets-native"
+PACKAGECONFIG[ffmpeg] = "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON,
-DWITH_DSP_FFMPEG=OFF -DWITH_FFMPEG=OFF"
+PACKAGECONFIG[openh264] =
"-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264"
+PACKAGECONFIG[opencl] =
"-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-icd-loader"
+PACKAGECONFIG[lame] = "-DWITH_LAME=ON,-DWITH_LAME=OFF,lame"
+PACKAGECONFIG[faad] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faad2"
+PACKAGECONFIG[faac] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faac"
+
+do_configure:append() {
+ sed -i -e 's|${WORKDIR}||g' ${B}/include/freerdp/buildflags.h
+ sed -i -e 's|${WORKDIR}||g' ${B}/winpr/include/winpr/buildflags.h
+}
+
+FILES:${PN} += "${datadir}"
--
2.44.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109477):
https://lists.openembedded.org/g/openembedded-devel/message/109477
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-