1*4882a593SmuzhiyunSUMMARY = "An HTTP library implementation in C" 2*4882a593SmuzhiyunDESCRIPTION = "libsoup is an HTTP client/server library for GNOME. It uses GObjects \ 3*4882a593Smuzhiyunand the glib main loop, to integrate well with GNOME applications." 4*4882a593SmuzhiyunHOMEPAGE = "https://wiki.gnome.org/Projects/libsoup" 5*4882a593SmuzhiyunBUGTRACKER = "https://bugzilla.gnome.org/" 6*4882a593SmuzhiyunSECTION = "x11/gnome/libs" 7*4882a593SmuzhiyunLICENSE = "LGPL-2.0-only" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunDEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl nghttp2" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunSRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" 15*4882a593SmuzhiyunSRC_URI[sha256sum] = "ebdf90cf3599c11acbb6818a9d9e3fc9d2c68e56eb829b93962972683e1bf7c8" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunPROVIDES = "libsoup-3.0" 18*4882a593SmuzhiyunCVE_PRODUCT = "libsoup" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunS = "${WORKDIR}/libsoup-${PV}" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuninherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunGIR_MESON_ENABLE_FLAG = 'enabled' 25*4882a593SmuzhiyunGIR_MESON_DISABLE_FLAG = 'disabled' 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. 28*4882a593SmuzhiyunPACKAGECONFIG ??= "" 29*4882a593SmuzhiyunPACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunEXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunGTKDOC_MESON_OPTION = "gtk_doc" 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun# When built without gnome support, libsoup will contain only one shared lib 36*4882a593Smuzhiyun# and will therefore become subject to renaming by debian.bbclass. Prevent 37*4882a593Smuzhiyun# renaming in order to keep the package name consistent regardless of whether 38*4882a593Smuzhiyun# gnome support is enabled or disabled. 39*4882a593SmuzhiyunDEBIAN_NOAUTONAME:${PN} = "1" 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun# glib-networking is needed for SSL, proxies, etc. 42*4882a593SmuzhiyunRRECOMMENDS:${PN} = "glib-networking" 43*4882a593Smuzhiyun 44*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 45