contrib/xdg-desktop-portal-wlr/Pkgfile

23 lines
644 B
Plaintext

# Description: xdg-desktop-portal backend for wlroots
# URL: https://github.com/emersion/xdg-desktop-portal-wlr
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: basu inih pipewire wayland-protocols
name=xdg-desktop-portal-wlr
version=0.7.1
release=1
source=(https://github.com/emersion/xdg-desktop-portal-wlr/archive/v$version/$name-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--libexecdir=lib \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D sd-bus-provider=basu
meson compile -C build
DESTDIR=$PKG meson install -C build
}