diff options
author | Ross Burton <ross.burton@arm.com> | 2023-09-06 19:14:18 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-13 04:31:05 -1000 |
commit | efdb7d00b8e80fb90090a8ee692625bfee04362e (patch) | |
tree | d4e36bda495f89f742137e3621d718e4f4e7a91f | |
parent | 9103dc5b8959ac965388159178b905cf8430df54 (diff) | |
download | poky-efdb7d00b8e80fb90090a8ee692625bfee04362e.tar.gz |
libsoup-2.4: update PACKAGECONFIG
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.
libsoup needs to be told where ntlm_auth will be on the target, so write
a cross file to do so.
(From OE-Core rev: c78a34caf466524356572b8cdd2ada615081bfc2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54b6ea078daeb58a3bb20bb4275d1140640a77d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb index 79281fbf5b..5abeced30b 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | |||
@@ -25,12 +25,24 @@ UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar" | |||
25 | GIR_MESON_ENABLE_FLAG = 'enabled' | 25 | GIR_MESON_ENABLE_FLAG = 'enabled' |
26 | GIR_MESON_DISABLE_FLAG = 'disabled' | 26 | GIR_MESON_DISABLE_FLAG = 'disabled' |
27 | 27 | ||
28 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. | ||
29 | PACKAGECONFIG ??= "" | 28 | PACKAGECONFIG ??= "" |
29 | PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli" | ||
30 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards | ||
30 | PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false" | 31 | PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false" |
31 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" | 32 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" |
32 | 33 | PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled" | |
33 | EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" | 34 | PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof" |
35 | |||
36 | # Tell libsoup where the target ntlm_auth is installed | ||
37 | do_write_config:append:class-target() { | ||
38 | cat >${WORKDIR}/soup.cross <<EOF | ||
39 | [binaries] | ||
40 | ntlm_auth = '${bindir}/ntlm_auth' | ||
41 | EOF | ||
42 | } | ||
43 | EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross" | ||
44 | |||
45 | EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" | ||
34 | 46 | ||
35 | GTKDOC_MESON_OPTION = "gtk_doc" | 47 | GTKDOC_MESON_OPTION = "gtk_doc" |
36 | 48 | ||