diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-18 17:30:49 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:41 +0000 |
commit | 13e726f626f26b9572168d3c87fd794e96e7d4a6 (patch) | |
tree | 96b609946968e459d5e276633fafb864cd442ec5 /meta/recipes-support/libsoup | |
parent | dd0ef3c249af340e76b5f139ef8ec479c7708b1c (diff) | |
download | poky-13e726f626f26b9572168d3c87fd794e96e7d4a6.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/libsoup')
-rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb index 3215ff140c..865c1d71ee 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.52.2.bb | |||
@@ -1,22 +1,14 @@ | |||
1 | SUMMARY = "An HTTP library implementation in C" | 1 | SUMMARY = "An HTTP library implementation in C" |
2 | HOMEPAGE = "http://www.gnome.org/" | 2 | HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup" |
3 | BUGTRACKER = "https://bugzilla.gnome.org/" | 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
4 | 4 | SECTION = "x11/gnome/libs" | |
5 | LICENSE = "LGPLv2" | 5 | LICENSE = "LGPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" |
7 | 7 | ||
8 | SECTION = "x11/gnome/libs" | ||
9 | |||
10 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 intltool-native" | 8 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 intltool-native" |
11 | 9 | ||
12 | EXTRA_OECONF = "--disable-vala" | 10 | SHRT_VER = "${@d.getVar('PV', True).split('.')[0]}.${@d.getVar('PV', True).split('.')[1]}" |
13 | 11 | ||
14 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Enable | ||
15 | # by default but let it be easily disabled. | ||
16 | PACKAGECONFIG ??= "gnome" | ||
17 | PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome" | ||
18 | |||
19 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
20 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" | 12 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" |
21 | 13 | ||
22 | SRC_URI[md5sum] = "e4757d09012ed93822b1ee41435fec24" | 14 | SRC_URI[md5sum] = "e4757d09012ed93822b1ee41435fec24" |
@@ -26,5 +18,12 @@ S = "${WORKDIR}/libsoup-${PV}" | |||
26 | 18 | ||
27 | inherit autotools gettext pkgconfig upstream-version-is-even | 19 | inherit autotools gettext pkgconfig upstream-version-is-even |
28 | 20 | ||
21 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Enable | ||
22 | # by default but let it be easily disabled. | ||
23 | PACKAGECONFIG ??= "gnome" | ||
24 | PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome" | ||
25 | |||
26 | EXTRA_OECONF = "--disable-vala" | ||
27 | |||
29 | # glib-networking is needed for SSL, proxies, etc. | 28 | # glib-networking is needed for SSL, proxies, etc. |
30 | RRECOMMENDS_${PN} = "glib-networking" | 29 | RRECOMMENDS_${PN} = "glib-networking" |