pkgbase = libportal
	pkgdesc = GIO-style async APIs for most Flatpak portals
	pkgver = 0.8.1
	pkgrel = 1
	url = https://github.com/flatpak/libportal
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = LGPL-3.0-only
	checkdepends = python-dbusmock
	checkdepends = python-pytest
	checkdepends = xorg-server-xvfb
	makedepends = gcc-libs
	makedepends = gi-docgen
	makedepends = git
	makedepends = gjs
	makedepends = glib2
	makedepends = glib2-devel
	makedepends = glibc
	makedepends = gobject-introspection
	makedepends = gtk3
	makedepends = gtk4
	makedepends = meson
	makedepends = qt5-base
	makedepends = qt5-tools
	makedepends = qt5-x11extras
	makedepends = qt6-base
	makedepends = qt6-tools
	makedepends = vala
	source = git+https://github.com/flatpak/libportal#tag=0.8.1
	b2sums = 025e1423d6f6f4645bfd8dbfc911daf51c6f6d06d1989b49cbeee201eece7cb3b7f693439c36bc70c87e3dee0d64f062f5b8f574acae24bc36a7df8d90cb99f5

pkgname = libportal
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = libglib-2.0.so
	depends = libgobject-2.0.so
	depends = libgio-2.0.so
	optdepends = libportal-docs: API documentation
	optdepends = libportal-gtk3: GTK 3 backend
	optdepends = libportal-gtk4: GTK 4 backend
	optdepends = libportal-qt5: Qt 5 backend
	optdepends = libportal-qt6: Qt 6 backend
	optdepends = xdg-desktop-portal: Portal service
	provides = libportal.so

pkgname = libportal-docs
	pkgdesc = GIO-style async APIs for most Flatpak portals - API documentation

pkgname = libportal-gtk3
	pkgdesc = GIO-style async APIs for most Flatpak portals - GTK 3 backend
	depends = gcc-libs
	depends = glib2
	depends = libgdk-3.so
	depends = libgtk-3.so
	depends = libportal
	provides = libportal-gtk3.so

pkgname = libportal-gtk4
	pkgdesc = GIO-style async APIs for most Flatpak portals - GTK 4 backend
	depends = gcc-libs
	depends = glib2
	depends = libgtk-4.so
	depends = libportal
	provides = libportal-gtk4.so

pkgname = libportal-qt5
	pkgdesc = GIO-style async APIs for most Flatpak portals - Qt 5 backend
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = libportal
	depends = qt5-base
	depends = qt5-x11extras
	provides = libportal-qt5.so

pkgname = libportal-qt6
	pkgdesc = GIO-style async APIs for most Flatpak portals - Qt 6 backend
	depends = gcc-libs
	depends = glib2
	depends = glibc
	depends = libportal
	depends = qt6-base
	provides = libportal-qt6.so
