git: 908f8371fefb - main - deskutils/gnome-sound-recorder: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 24 Jan 2022 12:35:40 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=908f8371fefb3bc9db33926791eded390e062151

commit 908f8371fefb3bc9db33926791eded390e062151
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-24 11:41:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-24 12:35:06 +0000

    deskutils/gnome-sound-recorder: unbreak build with Meson 0.61.0
    
    data/meson.build:16:0: ERROR: Function does not take positional arguments.
    
    PR:             260943
    Reported by:    antoine (via exp-run)
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 deskutils/gnome-sound-recorder/Makefile | 3 +++
 deskutils/gnome-sound-recorder/distinfo | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/deskutils/gnome-sound-recorder/Makefile b/deskutils/gnome-sound-recorder/Makefile
index df284f4d4dc0..6bcf6f0627b1 100644
--- a/deskutils/gnome-sound-recorder/Makefile
+++ b/deskutils/gnome-sound-recorder/Makefile
@@ -6,6 +6,9 @@ CATEGORIES=	deskutils gnome
 MASTER_SITES=	GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
+PATCHFILES+=	1335b1b1aff6.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-sound-recorder/-/merge_requests/182
+
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME sound recorder application
 
diff --git a/deskutils/gnome-sound-recorder/distinfo b/deskutils/gnome-sound-recorder/distinfo
index 076793136bf0..f79d6cf1651c 100644
--- a/deskutils/gnome-sound-recorder/distinfo
+++ b/deskutils/gnome-sound-recorder/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1622396708
 SHA256 (gnome/gnome-sound-recorder-40.0.tar.xz) = d4aa4c104d7465dd15807bf1703e65ff682eff52841c59cf3a07f5eff42e6501
 SIZE (gnome/gnome-sound-recorder-40.0.tar.xz) = 199056
+SHA256 (gnome/1335b1b1aff6.patch) = d4b0c9eea75e3dbfce7b14237e153254c28ea963b011430fffdfc22f410d0f3e
+SIZE (gnome/1335b1b1aff6.patch) = 1387