diff --git a/srcpkgs/xdg-desktop-portal/files/portals.conf b/srcpkgs/xdg-desktop-portal/files/portals.conf new file mode 100644 index 00000000000..028e24d2bbe --- /dev/null +++ b/srcpkgs/xdg-desktop-portal/files/portals.conf @@ -0,0 +1,2 @@ +[preferred] +default=* diff --git a/srcpkgs/xdg-desktop-portal/template b/srcpkgs/xdg-desktop-portal/template index 54b760529a5..a2e302d8608 100644 --- a/srcpkgs/xdg-desktop-portal/template +++ b/srcpkgs/xdg-desktop-portal/template @@ -1,11 +1,11 @@ # Template file for 'xdg-desktop-portal' pkgname=xdg-desktop-portal version=1.18.0 -revision=1 +revision=2 build_style=meson configure_args="-Dgeoclue=enabled -Dlibportal=enabled -Dsystemd=disabled" -hostmakedepends="pkg-config gettext glib-devel bubblewrap flatpak" +hostmakedepends="pkg-config gettext glib-devel bubblewrap flatpak python3-docutils" makedepends="flatpak-devel fuse3-devel pipewire-devel geoclue2-devel libportal-devel polkit-devel" checkdepends="dbus python3-dbusmock" @@ -20,3 +20,7 @@ checksum=4c8a017fb3c894ec46c03d08e6b6c3d31259707bdb3c7ee8aedb3a0cc0b4d707 if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then export TEST_IN_CI="true" fi + +post_install() { + vinstall "${FILESDIR}"/portals.conf 644 usr/share/xdg-desktop-portal +}