[arch-commits] Commit in xdg-desktop-portal-wlr/trunk (PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Fri May 21 14:15:17 UTC 2021
Date: Friday, May 21, 2021 @ 14:15:17
Author: maximbaz
Revision: 940689
xdg-desktop-portal-wlr: add default output choosers to optdepends FS#70834
Modified:
xdg-desktop-portal-wlr/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-21 14:14:56 UTC (rev 940688)
+++ PKGBUILD 2021-05-21 14:15:17 UTC (rev 940689)
@@ -4,7 +4,7 @@
pkgname=xdg-desktop-portal-wlr
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='xdg-desktop-portal backend for wlroots'
url="https://github.com/emersion/xdg-desktop-portal-wlr"
arch=('x86_64')
@@ -12,20 +12,24 @@
provides=('xdg-desktop-portal-impl')
depends=('xdg-desktop-portal' 'pipewire' 'iniparser')
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"
+ "${pkgname}-${pkgver}::https://github.com/emersion/xdg-desktop-portal-wlr/archive/v${pkgver}.tar.gz"
)
sha512sums=('2b01fab18296cb95cf659ff5a74ed6bf1482c033fdb274904bf2c3ea736dd3c8cb2e82f0662439a88f81ae86cc2fca2fbc3c1a9c72267ba126571973a7662e3d')
-build () {
- cd "${pkgname}-${pkgver}"
- arch-meson -Dsd-bus-provider=libsystemd build
- ninja -C build
+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
+package() {
+ cd "${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm644 -t "$pkgdir/usr/share/licenses/${pkgname}" LICENSE
}
-
More information about the arch-commits
mailing list