1SUMMARY = "libportal provides GIO-style async APIs for most Flatpak portals."
2DESCRIPTION = "It provides simple asynchronous wrappers for most Flatpak portals \
3with a familiar GObject API along side the D-Bus API"
4HOMEPAGE = "https://github.com/flatpak/libportal"
5BUGTRACKER = "https://github.com/flatpak/libportal/issues"
6LICENSE = "LGPL-3.0-only"
7LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
8
9SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main"
10SRCREV = "e9ed3a50cdde321eaf42361212480a66eb94a57a"
11S = "${WORKDIR}/git"
12
13inherit meson gi-docgen gobject-introspection vala features_check pkgconfig
14GIDOCGEN_MESON_OPTION = 'docs'
15
16ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
17
18DEPENDS += "glib-2.0 glib-2.0-native gtk+3 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)}"
19
20EXTRA_OEMESON = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)} -Dbackend-qt5=disabled"
21