description="A backend implementation for xdg-desktop-portal using GTK"
url='https://github.com/flatpak/xdg-desktop-portal-gtk'

packager="spiky <spiky@nutyx.org>"
contributors="Tnut"

makedepends=(xdg-desktop-portal python git xdg-desktop-portal-gnome)
run=(gtk3 gsettings-desktop-schemas xdg-desktop-portal)

name=xdg-desktop-portal-gtk
version=1.15.1

prepare () {
git clone https://github.com/flatpak/$name $name-$version
}

build() {
cd $name-$version

mkdir build
cd    build

meson setup .. \
       --prefix=/usr          \
       --buildtype=release

ninja

DESTDIR=$PKG ninja install
}
