libsoup-2.4: minor formatting improvements

Also update HOMEPAGE from generic Gnome to something libsoup specific.

(From OE-Core rev: 9473ffc11e586eba6a1cef2e5c8d293695685941)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andre McCurdy 2016-02-18 17:30:49 -08:00 committed by Richard Purdie
parent dd0ef3c249
commit 13e726f626
1 changed files with 10 additions and 11 deletions

View File

@ -1,22 +1,14 @@
SUMMARY = "An HTTP library implementation in C"
HOMEPAGE = "http://www.gnome.org/"
HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup"
BUGTRACKER = "https://bugzilla.gnome.org/"
SECTION = "x11/gnome/libs"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
SECTION = "x11/gnome/libs"
DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 intltool-native"
EXTRA_OECONF = "--disable-vala"
SHRT_VER = "${@d.getVar('PV', True).split('.')[0]}.${@d.getVar('PV', True).split('.')[1]}"
# 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] = "e4757d09012ed93822b1ee41435fec24"
@ -26,5 +18,12 @@ S = "${WORKDIR}/libsoup-${PV}"
inherit autotools gettext pkgconfig upstream-version-is-even
# 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"
EXTRA_OECONF = "--disable-vala"
# glib-networking is needed for SSL, proxies, etc.
RRECOMMENDS_${PN} = "glib-networking"