xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Protocol plugin for Office 365/Lync/OCS for Adium, Pidgin, Miranda and Telepathy IM Framework"
2*4882a593SmuzhiyunSECTION = "webos/services"
3*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunDEPENDS = "pidgin gmime intltool-native glib-2.0-native"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyuninherit autotools gettext pkgconfig
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \
11*4882a593Smuzhiyun           file://0001-sipe-consider-64bit-time_t-when-printing.patch \
12*4882a593Smuzhiyun           file://0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch \
13*4882a593Smuzhiyun           file://0001-configure-Do-not-add-native-paths-to-pkgconfig-searc.patch \
14*4882a593Smuzhiyun           file://0001-Migrate-to-use-g_memdup2.patch \
15*4882a593Smuzhiyun"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunSRC_URI[md5sum] = "0e742f021dc8c3f17435aea05c3e0314"
18*4882a593SmuzhiyunSRC_URI[sha256sum] = "738b121b11f2b3f1744150c00cb381222eb6cf67161a7742797eb4f03e64a2ba"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunPACKAGECONFIG ??= "nss krb5"
21*4882a593SmuzhiyunPACKAGECONFIG[nss] = "--enable-nss=yes,--enable-nss=no,nss"
22*4882a593SmuzhiyunPACKAGECONFIG[openssl] = "--enable-openssl=yes,--enable-openssl=no,openssl"
23*4882a593SmuzhiyunPACKAGECONFIG[krb5] = "--with-krb5=yes,--with-krb5=no,krb5"
24*4882a593Smuzhiyun#PACKAGECONFIG[voice_and_video] = "--with-vv=yes,--with-vv=no,libnice gstreamer"
25*4882a593SmuzhiyunPACKAGECONFIG[telepathy] = "--enable-telepathy=yes,--enable-telepathy=no,telepathy-glib"
26*4882a593Smuzhiyun#PACKAGECONFIG[gssapi_only] = "--enable-gssapi-only=yes,--enable-gssapi-only=no,krb5"
27*4882a593SmuzhiyunPACKAGECONFIG[debug] = "--enable-debug=yes,--enable-debug=no,valgrind"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunFILES:${PN}-dev += " \
30*4882a593Smuzhiyun    ${libdir}/purple-2/*.la \
31*4882a593Smuzhiyun"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunFILES:${PN} += " \
34*4882a593Smuzhiyun    ${libdir}/purple-2/libsipe.so \
35*4882a593Smuzhiyun    ${datadir}/appdata \
36*4882a593Smuzhiyun    ${datadir}/metainfo \
37*4882a593Smuzhiyun"
38