mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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: 54b6ea078daeb58a3bb20bb4275d1140640a77d2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a3d8123f9e
commit
bd07b05d6e
@@ -25,12 +25,24 @@ UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar"
|
|||||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||||
|
|
||||||
# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default.
|
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= ""
|
||||||
|
PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli"
|
||||||
|
# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards
|
||||||
PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false"
|
PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false"
|
||||||
PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5"
|
PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5"
|
||||||
|
PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled"
|
||||||
|
PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof"
|
||||||
|
|
||||||
EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false"
|
# Tell libsoup where the target ntlm_auth is installed
|
||||||
|
do_write_config:append:class-target() {
|
||||||
|
cat >${WORKDIR}/soup.cross <<EOF
|
||||||
|
[binaries]
|
||||||
|
ntlm_auth = '${bindir}/ntlm_auth'
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross"
|
||||||
|
|
||||||
|
EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false"
|
||||||
|
|
||||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user