27 lines
1007 B
Bash
27 lines
1007 B
Bash
# Template file for 'xdg-desktop-portal'
|
|
pkgname=xdg-desktop-portal
|
|
version=1.18.2
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dgeoclue=enabled -Dlibportal=enabled
|
|
-Dsystemd=disabled"
|
|
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"
|
|
short_desc="Portal frontend service for Flatpak"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/flatpak/xdg-desktop-portal"
|
|
changelog="https://github.com/flatpak/xdg-desktop-portal/raw/main/NEWS"
|
|
distfiles="https://github.com/flatpak/xdg-desktop-portal/archive/refs/tags/${version}.tar.gz"
|
|
checksum=2f89db75ea5448fb604bb4ba8cd9dc522b1e4928f0a1b8a4f978a10a45d4ee7e
|
|
|
|
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
|
|
}
|