libsoup-2.4_2.62.3.bb 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. SUMMARY = "An HTTP library implementation in C"
  2. HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup"
  3. BUGTRACKER = "https://bugzilla.gnome.org/"
  4. SECTION = "x11/gnome/libs"
  5. LICENSE = "LGPLv2"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
  7. DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 intltool-native"
  8. SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
  9. SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
  10. SRC_URI[md5sum] = "dfbf30af5fb6190bfafc5aa6abcc9dce"
  11. SRC_URI[sha256sum] = "d312ade547495c2093ff8bda61f9b9727a98cfdae339f3263277dd39c0451172"
  12. S = "${WORKDIR}/libsoup-${PV}"
  13. inherit autotools gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc
  14. # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default.
  15. PACKAGECONFIG ??= ""
  16. PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome"
  17. PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
  18. EXTRA_OECONF = "--disable-vala"
  19. # When built without gnome support, libsoup-2.4 will contain only one shared lib
  20. # and will therefore become subject to renaming by debian.bbclass. Prevent
  21. # renaming in order to keep the package name consistent regardless of whether
  22. # gnome support is enabled or disabled.
  23. DEBIAN_NOAUTONAME_${PN} = "1"
  24. # glib-networking is needed for SSL, proxies, etc.
  25. RRECOMMENDS_${PN} = "glib-networking"