Date: Sunday, October 24, 2021 @ 20:18:06 Author: dvzrv Revision: 1033231
archrelease: copy trunk to community-testing-x86_64 Added: xdg-desktop-portal-wlr/repos/community-testing-x86_64/ xdg-desktop-portal-wlr/repos/community-testing-x86_64/PKGBUILD (from rev 1033230, xdg-desktop-portal-wlr/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: xdg-desktop-portal-wlr/repos/community-testing-x86_64/PKGBUILD (from rev 1033230, xdg-desktop-portal-wlr/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-10-24 20:18:06 UTC (rev 1033231) @@ -0,0 +1,35 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Stefan Tatschner <ste...@rumpelsepp.org> + +pkgname=xdg-desktop-portal-wlr +pkgver=0.4.0 +pkgrel=3 +pkgdesc='xdg-desktop-portal backend for wlroots' +url="https://github.com/emersion/xdg-desktop-portal-wlr" +arch=('x86_64') +license=('MIT') +provides=('xdg-desktop-portal-impl') +depends=('xdg-desktop-portal' 'pipewire' 'pipewire-session-manager' 'libinih') +makedepends=('meson' 'wayland-protocols' 'wayland' 'scdoc') +optdepends=( + 'slurp: to choose which output to screencast using slurp' + 'wofi: to choose which output to screencast using wofi' + 'bemenu: to choose which output to screencast using bemenu' +) +source=( + "${pkgname}-${pkgver}::https://github.com/emersion/xdg-desktop-portal-wlr/archive/v${pkgver}.tar.gz" +) +sha512sums=('544dea4601ce8aa8649d15b7c249aa5b0099fa5a6aec1b7a1433439265acede9ac442092da53080c36b372dd0ef5aaa15747b13a56f4a648e1c00ed3c2435e19') + +build() { + cd "${pkgname}-${pkgver}" + arch-meson -Dsd-bus-provider=libsystemd build + ninja -C build +} + +package() { + cd "${pkgname}-${pkgver}" + DESTDIR="${pkgdir}" ninja -C build install + install -Dm644 -t "$pkgdir/usr/share/licenses/${pkgname}" LICENSE +}