diff options
-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 | ||