xdg-desktop-portal-wlr: update to 0.4.0.

This commit is contained in:
Isaac Freund 2021-06-06 06:19:20 +00:00 committed by Érico Nogueira Rolim
parent 3d234007ca
commit f42d37f396
2 changed files with 3 additions and 26 deletions

View file

@ -1,22 +0,0 @@
From ebb50839a560134d44d7a7512faae15deae9c0fb Mon Sep 17 00:00:00 2001
From: Stefano Ragni <stefano.ragni@outlook.com>
Date: Sun, 18 Apr 2021 19:55:19 +0200
Subject: [PATCH] wlr_screencast: fix return value on cmd failure
---
src/screencast/wlr_screencast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/screencast/wlr_screencast.c b/src/screencast/wlr_screencast.c
index 45bea73..a3b0637 100644
--- a/src/screencast/wlr_screencast.c
+++ b/src/screencast/wlr_screencast.c
@@ -406,7 +406,7 @@ static bool wlr_output_chooser(struct xdpw_output_chooser *chooser,
if (!wait_chooser(pid)) {
close(chooser_out[0]);
- goto end;
+ return false;
}
FILE *f = fdopen(chooser_out[0], "r");

View file

@ -1,19 +1,18 @@
# Template file for 'xdg-desktop-portal-wlr'
pkgname=xdg-desktop-portal-wlr
version=0.3.0
version=0.4.0
revision=1
build_style=meson
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="wayland-devel wayland-protocols elogind-devel pipewire-devel
iniparser-devel"
inih-devel"
depends="xdg-desktop-portal"
short_desc="Backend of xdg-desktop-portal for wlroots"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://github.com/emersion/xdg-desktop-portal-wlr"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=5c80469b04c4e5d22689f755d61adcf92758bc1c85f0747ae1f586b4bcd7873c
patch_args=-Np1
checksum=eb97248c3625a2e6775a250de4bd53d50c5a548bf880fc716e28b6b9c51447d5
post_install() {
vlicense LICENSE