diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2013-03-07 18:42:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-09 06:28:47 +0000 |
commit | 8a5d0a2be41c1a0471456a1098270632521c0c9f (patch) | |
tree | 3c4b7b7313c2a9f61e84ff423048fa7fe40e1551 /meta/recipes-support/libsoup | |
parent | bff8456be448f0ae7ddae917ed3e9893f056376d (diff) | |
download | openembedded-core-8a5d0a2be41c1a0471456a1098270632521c0c9f.tar.gz openembedded-core-8a5d0a2be41c1a0471456a1098270632521c0c9f.tar.bz2 openembedded-core-8a5d0a2be41c1a0471456a1098270632521c0c9f.zip |
libsoup-2.4: make libsoup-gnome optional
* Weakens dependency on libgnome-keyring and sqlite3
* Defaults to no if x11 is in DISTRO_FEATURES
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libsoup')
-rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb index 9274f8c046..53807af3e5 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.40.2.bb @@ -5,11 +5,14 @@ BUGTRACKER = "https://bugzilla.gnome.org/" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" -PR = "r0" +PR = "r1" SECTION = "x11/gnome/libs" -DEPENDS = "glib-2.0 gnutls libxml2 libproxy sqlite3 libgnome-keyring" +DEPENDS = "glib-2.0 gnutls libxml2 libproxy" + +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)}" +PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome,libgnome-keyring sqlite3" 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" |