libsoup: upgrade to 2.42.1

Upgrade to the latest stable release, and fix the dependencies.

gnome-keyring use has been removed from libsoup, and sqlite3 is now a hard
dependency.  The optional libsoup-gnome library is now a small stub, so enable
it by default but allow it to be disabled via PACKAGECONFIG.

(From OE-Core rev: 3f093e24e78cc8a553bebc03ec9f3a32700981e6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2013-04-24 15:29:46 +01:00
committed by Richard Purdie
parent 58b8401245
commit b86f89f38e

View File

@@ -5,20 +5,20 @@ BUGTRACKER = "https://bugzilla.gnome.org/"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
PR = "r1"
SECTION = "x11/gnome/libs"
DEPENDS = "glib-2.0 gnutls libxml2 libproxy"
DEPENDS = "glib-2.0 gnutls libxml2 libproxy sqlite3"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)}"
PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome,libgnome-keyring sqlite3"
# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Enable
# by default but let it be easily disabled.
PACKAGECONFIG ??= "gnome"
PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome"
SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
SRC_URI[md5sum] = "211ec6b733d4de33056b56838c88436e"
SRC_URI[sha256sum] = "32e81220f53abb1f5bbe7d8b0717119df70667fc48e2342d82209ed1593e71dc"
SRC_URI[md5sum] = "aaccd590a8002b69716f885fa8589887"
SRC_URI[sha256sum] = "20bd5365bb3e7de70fade91ac82c9dea31636318df90b8c26bc4cde2523a8c91"
S = "${WORKDIR}/libsoup-${PV}"