1*edff4923SAndrew GeisslerSUMMARY = "GNOME Online Accounts - Single sign-on framework for GNOME"
2*edff4923SAndrew GeisslerLICENSE = "LGPL-2.0-or-later"
3*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=34c88b124db5fb2762c1676be7dadd36"
4*edff4923SAndrew Geissler
5*edff4923SAndrew GeisslerGTKIC_VERSION = "4"
6*edff4923SAndrew Geisslerinherit gnomebase gsettings gobject-introspection gtk-icon-cache mime-xdg vala features_check
7*edff4923SAndrew GeisslerREQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'goabackend', 'opengl', '', d)}"
8*edff4923SAndrew Geissler
9*edff4923SAndrew GeisslerDEPENDS += "gdk-pixbuf dbus glib-2.0 gcr"
10*edff4923SAndrew Geissler
11*edff4923SAndrew GeisslerSRC_URI[archive.sha256sum] = "df16ad975d139c6bfc4ebb2ec8bb8327297a791ef2bf0b977c78076af5faa98e"
12*edff4923SAndrew Geissler
13*edff4923SAndrew GeisslerPACKAGECONFIG ?= "goabackend kerberos owncloud google windows_live"
14*edff4923SAndrew Geissler
15*edff4923SAndrew GeisslerPACKAGECONFIG[goabackend] = "-Dgoabackend=true,-Dgoabackend=false,gtk4 libadwaita json-glib libxml2 libsoup rest libsecret webkitgtk"
16*edff4923SAndrew GeisslerPACKAGECONFIG[kerberos] = "-Dkerberos=true, -Dkerberos=false,krb5"
17*edff4923SAndrew GeisslerPACKAGECONFIG[exchange] = "-Dexchange=true, -Dexchange=false"
18*edff4923SAndrew GeisslerPACKAGECONFIG[google] = "-Dgoogle=true, -Dgoogle=false"
19*edff4923SAndrew GeisslerPACKAGECONFIG[owncloud] = "-Downcloud=true, -Downcloud=false"
20*edff4923SAndrew GeisslerPACKAGECONFIG[windows_live] = "-Dwindows_live=true, -Dwindows_live=false"
21*edff4923SAndrew Geissler
22*edff4923SAndrew GeisslerFILES:${PN} += " \
23*edff4923SAndrew Geissler    ${datadir}/dbus-1 \
24*edff4923SAndrew Geissler    ${libdir}/goa-1.0/web-extensions/*.so \
25*edff4923SAndrew Geissler"
26*edff4923SAndrew Geissler
27*edff4923SAndrew Geissler# looked into pkg-config file: it is not a bug - they mean it
28*edff4923SAndrew GeisslerFILES:${PN}-dev += "${libdir}/goa-1.0/include"
29