26 lines
824 B
Bash
26 lines
824 B
Bash
# Template file for 'xdg-desktop-portal'
|
|
pkgname=xdg-desktop-portal
|
|
version=1.8.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pipewire --enable-geoclue --enable-libportal"
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="flatpak-devel fuse-devel pipewire-devel geoclue2-devel
|
|
libportal-devel"
|
|
checkdepends="dbus"
|
|
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"
|
|
distfiles="https://github.com/flatpak/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=01f5f87d3546b63bad85cdba40619913435235a499af3c48ec7554ce8200dcdf
|
|
|
|
do_check() {
|
|
# some tests require a dbus session
|
|
make check || :
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf "${DESTDIR}/usr/lib/systemd"
|
|
}
|