x11-wm/cage: update to 0.2.0

Changes:	https://github.com/Hjdskes/cage/releases/tag/v0.2.0
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2024-10-06 15:24:22 +02:00
parent a152be3686
commit 144c9f376c
3 changed files with 7 additions and 28 deletions

View file

@ -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/' \

View file

@ -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

View file

@ -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')