diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2021-12-10 09:38:34 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 11:27:23 +0000 |
commit | 74b3628d078d091ce771b0473cf5f1fc06885440 (patch) | |
tree | d7c7684b32d7ad76abc0c5f9f56ac3c5dc292628 /meta/recipes-gnome | |
parent | 86da64c970316adf31c6382cf2b025fbdfea75cd (diff) | |
download | poky-74b3628d078d091ce771b0473cf5f1fc06885440.tar.gz |
epiphany: Add packageconfig for libsoup2
Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.
The default is changed from libsoup3 back to libsoup2 to follow
webkitgtk.
(From OE-Core rev: 430ae4f95a2eb36311338c5c8bdba7331958556a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/epiphany/epiphany_41.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-gnome/epiphany/epiphany_41.0.bb b/meta/recipes-gnome/epiphany/epiphany_41.0.bb index 09210b68aa..8f3bd87340 100644 --- a/meta/recipes-gnome/epiphany/epiphany_41.0.bb +++ b/meta/recipes-gnome/epiphany/epiphany_41.0.bb | |||
@@ -30,10 +30,13 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GN | |||
30 | " | 30 | " |
31 | SRC_URI[archive.sha256sum] = "b39d1825492595b0b74c5d6a6686a857f9419dfa4c02f8013c297bc870e26dd0" | 31 | SRC_URI[archive.sha256sum] = "b39d1825492595b0b74c5d6a6686a857f9419dfa4c02f8013c297bc870e26dd0" |
32 | 32 | ||
33 | EXTRA_OEMESON += "-Dsoup2=disabled" | 33 | PACKAGECONFIG_SOUP ?= "soup2" |
34 | PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}" | ||
34 | 35 | ||
35 | # Developer mode enables debugging | 36 | # Developer mode enables debugging |
36 | PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false" | 37 | PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false" |
38 | PACKAGECONFIG[soup2] = "-Dsoup2=enabled,-Dsoup2=disabled,libsoup-2.4,,,soup3" | ||
39 | PACKAGECONFIG[soup3] = ",,libsoup,,,soup2" | ||
37 | 40 | ||
38 | FILES:${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo" | 41 | FILES:${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo" |
39 | RDEPENDS:${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas" | 42 | RDEPENDS:${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas" |