diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-09-06 19:14:19 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-07 14:36:30 +0100 |
| commit | a5f386f7de06bf818e07e9d6f5323245cc5e1d8d (patch) | |
| tree | 898df977cc613c6a500066866bf5b1ef76f19073 | |
| parent | bd07b05d6e20ea7e574876ef832984d280984b7c (diff) | |
| download | poky-a5f386f7de06bf818e07e9d6f5323245cc5e1d8d.tar.gz | |
libsoup: 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.
Also explicitly disable more of the test suites as we don't build them
yet.
(From OE-Core rev: 945071cc31280d3bd164478b50e2970b6a42fd02)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup_3.4.2.bb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/meta/recipes-support/libsoup/libsoup_3.4.2.bb b/meta/recipes-support/libsoup/libsoup_3.4.2.bb index 37e54abe73..ad86c890a1 100644 --- a/meta/recipes-support/libsoup/libsoup_3.4.2.bb +++ b/meta/recipes-support/libsoup/libsoup_3.4.2.bb | |||
| @@ -24,11 +24,24 @@ inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection g | |||
| 24 | GIR_MESON_ENABLE_FLAG = 'enabled' | 24 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 25 | GIR_MESON_DISABLE_FLAG = 'disabled' | 25 | GIR_MESON_DISABLE_FLAG = 'disabled' |
| 26 | 26 | ||
| 27 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. | ||
| 28 | PACKAGECONFIG ??= "" | 27 | PACKAGECONFIG ??= "" |
| 28 | PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli" | ||
| 29 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" | 29 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" |
| 30 | 30 | PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled" | |
| 31 | EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" | 31 | PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof" |
| 32 | |||
| 33 | # Tell libsoup where the target ntlm_auth is installed | ||
| 34 | do_write_config:append:class-target() { | ||
| 35 | cat >${WORKDIR}/soup.cross <<EOF | ||
| 36 | [binaries] | ||
| 37 | ntlm_auth = '${bindir}/ntlm_auth' | ||
| 38 | EOF | ||
| 39 | } | ||
| 40 | EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross" | ||
| 41 | |||
| 42 | EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" | ||
| 43 | # Disable the test suites | ||
| 44 | EXTRA_OEMESON += "-Dtests=false -Dautobahn=disabled -Dpkcs11_tests=disabled" | ||
| 32 | 45 | ||
| 33 | GIDOCGEN_MESON_OPTION = 'docs' | 46 | GIDOCGEN_MESON_OPTION = 'docs' |
| 34 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' | 47 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' |
