diff options
| -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" |
