diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-11 11:40:55 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:46 +0100 |
| commit | de296e2b2be876ca5cf2af309b710111e2b2581e (patch) | |
| tree | 7afcaebc7d73510face462f47776983a8238e036 /meta | |
| parent | f5ed0980b36120d7badc178f89340dc22f6cb5c4 (diff) | |
| download | poky-de296e2b2be876ca5cf2af309b710111e2b2581e.tar.gz | |
libsoup: add a 3.x recipe
libsoup 2.x is still needed until all consumers update to 3.x.
(From OE-Core rev: 0038a5b3145d0b0b07c987742b6fb54f9edc9882)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup_3.0.1.bb | 44 |
3 files changed, 47 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index c203f352ca..3ffb065804 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
| @@ -384,6 +384,7 @@ RECIPE_MAINTAINER:pn-libsecret = "Alexander Kanavin <alex.kanavin@gmail.com>" | |||
| 384 | RECIPE_MAINTAINER:pn-libsm = "Unassigned <unassigned@yoctoproject.org>" | 384 | RECIPE_MAINTAINER:pn-libsm = "Unassigned <unassigned@yoctoproject.org>" |
| 385 | RECIPE_MAINTAINER:pn-libsndfile1 = "Unassigned <unassigned@yoctoproject.org>" | 385 | RECIPE_MAINTAINER:pn-libsndfile1 = "Unassigned <unassigned@yoctoproject.org>" |
| 386 | RECIPE_MAINTAINER:pn-libsolv = "Anuj Mittal <anuj.mittal@intel.com>" | 386 | RECIPE_MAINTAINER:pn-libsolv = "Anuj Mittal <anuj.mittal@intel.com>" |
| 387 | RECIPE_MAINTAINER:pn-libsoup = "Anuj Mittal <anuj.mittal@intel.com>" | ||
| 387 | RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal <anuj.mittal@intel.com>" | 388 | RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal <anuj.mittal@intel.com>" |
| 388 | RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <unassigned@yoctoproject.org>" | 389 | RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <unassigned@yoctoproject.org>" |
| 389 | RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>" | 390 | RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>" |
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb index e888202b77..351bc9de73 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.72.0.bb | |||
| @@ -20,6 +20,8 @@ S = "${WORKDIR}/libsoup-${PV}" | |||
| 20 | 20 | ||
| 21 | inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc | 21 | inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc |
| 22 | 22 | ||
| 23 | UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar" | ||
| 24 | |||
| 23 | GIR_MESON_ENABLE_FLAG = 'enabled' | 25 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 24 | GIR_MESON_DISABLE_FLAG = 'disabled' | 26 | GIR_MESON_DISABLE_FLAG = 'disabled' |
| 25 | 27 | ||
diff --git a/meta/recipes-support/libsoup/libsoup_3.0.1.bb b/meta/recipes-support/libsoup/libsoup_3.0.1.bb new file mode 100644 index 0000000000..1e4d3b272b --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup_3.0.1.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "An HTTP library implementation in C" | ||
| 2 | DESCRIPTION = "libsoup is an HTTP client/server library for GNOME. It uses GObjects \ | ||
| 3 | and the glib main loop, to integrate well with GNOME applications." | ||
| 4 | HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup" | ||
| 5 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
| 6 | SECTION = "x11/gnome/libs" | ||
| 7 | LICENSE = "LGPLv2" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
| 9 | |||
| 10 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl nghttp2" | ||
| 11 | |||
| 12 | SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" | ||
| 13 | |||
| 14 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" | ||
| 15 | SRC_URI[sha256sum] = "6f0c316d10f8458b96f564c7644be3c2011bd75ad5054c8db26afb0c9a91bc47" | ||
| 16 | |||
| 17 | PROVIDES = "libsoup-3.0" | ||
| 18 | CVE_PRODUCT = "libsoup" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/libsoup-${PV}" | ||
| 21 | |||
| 22 | inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc | ||
| 23 | |||
| 24 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
| 25 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
| 26 | |||
| 27 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. | ||
| 28 | PACKAGECONFIG ??= "" | ||
| 29 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" | ||
| 30 | |||
| 31 | EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" | ||
| 32 | |||
| 33 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
| 34 | |||
| 35 | # When built without gnome support, libsoup will contain only one shared lib | ||
| 36 | # and will therefore become subject to renaming by debian.bbclass. Prevent | ||
| 37 | # renaming in order to keep the package name consistent regardless of whether | ||
| 38 | # gnome support is enabled or disabled. | ||
| 39 | DEBIAN_NOAUTONAME:${PN} = "1" | ||
| 40 | |||
| 41 | # glib-networking is needed for SSL, proxies, etc. | ||
| 42 | RRECOMMENDS:${PN} = "glib-networking" | ||
| 43 | |||
| 44 | BBCLASSEXTEND = "native nativesdk" | ||
