git: 144c9f376c77 - main - x11-wm/cage: update to 0.2.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 06 Oct 2024 18:22:14 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=144c9f376c77ebcd1277e059dd3531749b313118

commit 144c9f376c77ebcd1277e059dd3531749b313118
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-10-06 13:24:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-10-06 18:21:41 +0000

    x11-wm/cage: update to 0.2.0
    
    Changes:        https://github.com/Hjdskes/cage/releases/tag/v0.2.0
    Reported by:    GitHub (watch releases)
---
 x11-wm/cage/Makefile                | 14 ++++----------
 x11-wm/cage/distinfo                |  8 +++-----
 x11-wm/cage/files/patch-meson.build | 13 -------------
 3 files changed, 7 insertions(+), 28 deletions(-)

diff --git a/x11-wm/cage/Makefile b/x11-wm/cage/Makefile
index f0ac5341e4e8..518019d83dde 100644
--- a/x11-wm/cage/Makefile
+++ b/x11-wm/cage/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	cage
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.5
-PORTREVISION=	3
+DISTVERSION=	0.2.0
 CATEGORIES=	x11-wm wayland
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	638d4fb71555.patch:-p1 # https://github.com/cage-kiosk/cage/pull/148
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Wayland kiosk
 WWW=		https://www.hjdskes.nl/projects/cage/
@@ -17,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 		wayland-protocols>=1.14:graphics/wayland-protocols
 LIB_DEPENDS=	libwayland-server.so:graphics/wayland \
-		libwlroots-0.16.so:x11-toolkits/wlroots016 \
+		libwlroots-0.18.so:x11-toolkits/wlroots \
 		libxkbcommon.so:x11/libxkbcommon
 
 USES=		compiler:c11 meson pkgconfig
@@ -27,15 +23,13 @@ PLIST_FILES=	bin/${PORTNAME}
 
 CONFLICTS_INSTALL=	${PORTNAME}-devel
 
-OPTIONS_DEFINE=	MANPAGES X11
-OPTIONS_DEFAULT=MANPAGES X11
+OPTIONS_DEFINE=	MANPAGES
+OPTIONS_DEFAULT=MANPAGES
 
 MANPAGES_BUILD_DEPENDS=	scdoc>=1.9.2:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
 MANPAGES_PLIST_FILES=	share/man/man1/${PORTNAME}.1.gz
 
-X11_MESON_TRUE=	xwayland
-
 post-patch:
 # Extract (snapshot) version from the port instead of meson.build
 	@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
diff --git a/x11-wm/cage/distinfo b/x11-wm/cage/distinfo
index d8f1e036fef9..2c43d6aafd8f 100644
--- a/x11-wm/cage/distinfo
+++ b/x11-wm/cage/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1690555597
-SHA256 (cage-kiosk-cage-v0.1.5_GH0.tar.gz) = 576b8b5a041712b8d8785243ac6db08c7bc9c32822f96ad6dec7ac2b2db9b2b5
-SIZE (cage-kiosk-cage-v0.1.5_GH0.tar.gz) = 23179
-SHA256 (638d4fb71555.patch) = 0730b618e248a453284df9c0d01378f3e3e16c8c4b453b2a8629a4b41f02cc65
-SIZE (638d4fb71555.patch) = 2232
+TIMESTAMP = 1728221062
+SHA256 (cage-kiosk-cage-v0.2.0_GH0.tar.gz) = 9d3f659e0f19636a958f9e1bf4d22268d7e2705d7e2989888401ec443c1cb6c3
+SIZE (cage-kiosk-cage-v0.2.0_GH0.tar.gz) = 24107
diff --git a/x11-wm/cage/files/patch-meson.build b/x11-wm/cage/files/patch-meson.build
deleted file mode 100644
index 59589b895267..000000000000
--- a/x11-wm/cage/files/patch-meson.build
+++ /dev/null
@@ -1,13 +0,0 @@
-Run-time dependency wlroots found: NO (tried pkgconfig and cmake)
-
---- meson.build.nogit	2023-07-28 14:46:37 UTC
-+++ meson.build
-@@ -35,7 +35,7 @@ endif
-   )
- endif
- 
--wlroots        = dependency('wlroots', version: '>= 0.16.0', fallback: ['wlroots', 'wlroots'])
-+wlroots        = dependency('wlroots-0.16', fallback: ['wlroots', 'wlroots'])
- wayland_protos = dependency('wayland-protocols', version: '>=1.14')
- wayland_server = dependency('wayland-server')
- xkbcommon      = dependency('xkbcommon')