git: 81df3d074b5c - main - graphics/wayland-protocols: update to 1.24

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 03 Dec 2021 17:05:18 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=81df3d074b5c093f4696f644df9165cd96ff27d9

commit 81df3d074b5c093f4696f644df9165cd96ff27d9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-23 09:13:33 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-03 17:03:35 +0000

    graphics/wayland-protocols: update to 1.24
    
    Changes:        https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html
    PR:             257418
    Submitted by:   tcberner (based on)
    Approved by:    manu
    Differential Revision: https://reviews.freebsd.org/D33124
---
 graphics/wayland-protocols/Makefile                |  7 +++----
 graphics/wayland-protocols/distinfo                |  6 +++---
 graphics/wayland-protocols/files/patch-meson.build | 14 ++++++++++++++
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/graphics/wayland-protocols/Makefile b/graphics/wayland-protocols/Makefile
index 208fbb20aaf7..d7fbe13c4768 100644
--- a/graphics/wayland-protocols/Makefile
+++ b/graphics/wayland-protocols/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wayland-protocols
-PORTVERSION=	1.23
+PORTVERSION=	1.24
 CATEGORIES=	graphics wayland
 MASTER_SITES=	https://wayland.freedesktop.org/releases/
 
@@ -11,9 +11,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	wayland-scanner:graphics/wayland
 
-USES=		autoreconf pkgconfig tar:xz
+USES=		meson pkgconfig tar:xz
+MESON_ARGS=	-Dtests=false
 NO_ARCH=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-noarch-pkgconfigdir='$${prefix}/libdata/pkgconfig'
 
 .include <bsd.port.mk>
diff --git a/graphics/wayland-protocols/distinfo b/graphics/wayland-protocols/distinfo
index a02cec983653..70a9586ba838 100644
--- a/graphics/wayland-protocols/distinfo
+++ b/graphics/wayland-protocols/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631710323
-SHA256 (wayland-protocols-1.23.tar.xz) = 6c0af1915f96f615927a6270d025bd973ff1c58e521e4ca1fc9abfc914633f76
-SIZE (wayland-protocols-1.23.tar.xz) = 74116
+TIMESTAMP = 1637658813
+SHA256 (wayland-protocols-1.24.tar.xz) = bff0d8cffeeceb35159d6f4aa6bab18c807b80642c9d50f66cba52ecf7338bc2
+SIZE (wayland-protocols-1.24.tar.xz) = 77120
diff --git a/graphics/wayland-protocols/files/patch-meson.build b/graphics/wayland-protocols/files/patch-meson.build
new file mode 100644
index 000000000000..541eba6d6cca
--- /dev/null
+++ b/graphics/wayland-protocols/files/patch-meson.build
@@ -0,0 +1,14 @@
+devel/pkgconfig removed share/pkgconfig from PKG_DEFAULT_PATH
+via --with-pkg-config-dir override. Similar to lib/pkgconfig.
+
+--- meson.build.orig	2021-11-26 04:47:33 UTC
++++ meson.build
+@@ -91,7 +91,7 @@ pkgconfig_configuration.set('abs_top_srcdir', wayland_
+ pkgconfig_configuration.set('PACKAGE', 'wayland-protocols')
+ pkgconfig_configuration.set('WAYLAND_PROTOCOLS_VERSION', wayland_protocols_version)
+ 
+-pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
++pkg_install_dir = join_paths(get_option('prefix'), 'libdata/pkgconfig')
+ configure_file(
+ 	input: 'wayland-protocols.pc.in',
+ 	output: 'wayland-protocols.pc',