makedepends=(glib gtk-doc gobject-introspection vala gtk3 gtk4 qtbase qtx11extras python-setuptools)

description="GIO-style async APIs for most Flatpak portals"
url="https://github.com/flatpak/libportal"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=libportal
version=0.9.1
release=1

source=(https://github.com/flatpak/libportal/releases/download/$version/libportal-$version.tar.xz)

build() {

  mkdir build && cd build

  meson setup --prefix=/usr \
              --libdir=/usr/lib \
              -Ddocs=false \
              ../$name-$version

  ninja
  DESTDIR=$PKG ninja install
}
