-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
28 lines (26 loc) · 1.22 KB
/
template
File metadata and controls
28 lines (26 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'xdg-desktop-portal'
pkgname=xdg-desktop-portal
version=1.20.3
revision=2
build_style=meson
configure_args="-Dgeoclue=enabled -Dsystemd=disabled"
hostmakedepends="pkg-config gettext glib-devel bubblewrap flatpak python3-docutils
gst-plugins-good1 gstreamer1 python3-dbusmock python3-gobject python3-pytest-xdist"
makedepends="flatpak-devel fuse3-devel pipewire-devel geoclue2-devel
polkit-devel gst-plugins-base1-devel libumockdev-devel"
checkdepends="dbus python3-dbusmock umockdev"
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=01d2a8ceaab06fa1d0638abe541dbb415a0a19be271d9669a93ec1640f87ea4a
# https://github.com/flatpak/xdg-desktop-portal/issues/1589
make_check_pre="env XDP_VALIDATE_ICON_INSECURE=1 XDP_VALIDATE_SOUND_INSECURE=1"
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
}