libportal: use gir build helper instead of depending on qemu-user

This commit is contained in:
classabbyamp 2024-09-18 00:07:44 -04:00 committed by classabbyamp
parent ff1668687b
commit 1c36fa2ae2
1 changed files with 1 additions and 4 deletions

View File

@ -3,6 +3,7 @@ pkgname=libportal
version=0.7.1
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gtk_doc docs) $(vopt_bool gir vapi)
-Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled"
hostmakedepends="pkg-config glib-devel gobject-introspection $(vopt_if gir vala)
@ -21,10 +22,6 @@ make_check_pre="xvfb-run"
build_options="gir gtk_doc"
build_options_default="gir gtk_doc"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user prelink-cross"
fi
libportal-devel_package() {
depends="libportal>=${version}_${revision} glib-devel"
short_desc+=" - development files"