git: 061922168176 - main - devel/glibmm: update to 2.66.2

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 20:54:01 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=061922168176bc6fbeb746e8335f1dc31140e6a4

commit 061922168176bc6fbeb746e8335f1dc31140e6a4
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2022-01-19 03:21:57 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2022-01-19 20:52:08 +0000

    devel/glibmm: update to 2.66.2
    
    Converted to meson.
    PORTSCOUT limited to the 2.66 series as 2.68 and later are incompatible
    with current consumers; the later versions are mainly for GTK 4
    consumers that AFAICT do not exist yet.
    
    MFH: 2 weeks
    Approved by: tcberner (mentor)
    Differential Revision: https://reviews.freebsd.org/D33938
---
 devel/glibmm/Makefile | 28 +++++++++++-----------------
 devel/glibmm/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/devel/glibmm/Makefile b/devel/glibmm/Makefile
index 5ddf3dbab8e8..c171a2bda4ee 100644
--- a/devel/glibmm/Makefile
+++ b/devel/glibmm/Makefile
@@ -1,7 +1,7 @@
 # Created by: Adam Weinberger <adamw@FreeBSD.org>
 
 PORTNAME=	glibmm
-PORTVERSION=	2.64.2
+PORTVERSION=	2.66.2
 PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNOME
@@ -12,23 +12,17 @@ COMMENT=	C++ interfaces for glib2
 
 LICENSE=	LGPL21
 
-USES+=		tar:xz
-PORTSCOUT?=	limitw:1,even
-
-PLIST_SUB=	VERSION="2.4"
-
-USES+=		compiler:c++11-lang gettext gmake gnome libtool pathfix perl5 \
-		pkgconfig
+USES=		compiler:c++11-lang gettext gnome meson pathfix perl5 \
+		pkgconfig python:3.7+,build shebangfix tar:xz
 USE_GNOME=	glib20 libsigc++20
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--disable-documentation
-INSTALL_TARGET=	install-strip
-BINARY_WRAPPERS=	gm4
-
-post-patch:
-.for d in docs examples tests
-	@${REINPLACE_CMD} -e '/^SUBDIRS = /s/${d}//' ${WRKSRC}/Makefile.in
-.endfor
+
+SHEBANG_GLOB=	*.py
+
+MESON_ARGS=	-Dbuild-documentation=false
+
+# 2.68 and later are currently incompatible with consumers
+PORTSCOUT=	limit:^2\.66
+PLIST_SUB=	VERSION=2.4
 
 .include <bsd.port.mk>
diff --git a/devel/glibmm/distinfo b/devel/glibmm/distinfo
index e335495de154..5abbd4ec7d36 100644
--- a/devel/glibmm/distinfo
+++ b/devel/glibmm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1601366996
-SHA256 (gnome/glibmm-2.64.2.tar.xz) = a75282e58d556d9b2bb44262b6f5fb76c824ac46a25a06f527108bec86b8d4ec
-SIZE (gnome/glibmm-2.64.2.tar.xz) = 7438116
+TIMESTAMP = 1641718573
+SHA256 (gnome/glibmm-2.66.2.tar.xz) = b2a4cd7b9ae987794cbb5a1becc10cecb65182b9bb841868625d6bbb123edb1d
+SIZE (gnome/glibmm-2.66.2.tar.xz) = 7603104