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