git: f5d660fb047b - main - x11/wob: update to 0.15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Sep 2023 01:40:12 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f5d660fb047b6e04079a5012665d6074ab3e4331
commit f5d660fb047b6e04079a5012665d6074ab3e4331
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-09-15 19:46:04 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-16 01:39:01 +0000
x11/wob: update to 0.15
Changes: https://github.com/francma/wob/releases/tag/0.15
Reported by: GitHub (watch releases)
---
x11/wob/Makefile | 18 ++++++++++++++++--
x11/wob/distinfo | 6 +++---
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/x11/wob/Makefile b/x11/wob/Makefile
index b1d64f68ed07..3a7b11945d75 100644
--- a/x11/wob/Makefile
+++ b/x11/wob/Makefile
@@ -1,5 +1,5 @@
PORTNAME= wob
-DISTVERSION= 0.14.2
+DISTVERSION= 0.15
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -12,11 +12,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>=1.13:graphics/wayland-protocols
LIB_DEPENDS= libinih.so:devel/inih \
libwayland-client.so:graphics/wayland
+TEST_DEPENDS= cmocka>0:sysutils/cmocka
USES= meson pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= francma
-MESON_ARGS= -Dseccomp=disabled
+MESON_ARGS= -Dseccomp=disabled -Dtests=disabled
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= MANPAGES
@@ -27,4 +28,17 @@ MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
man/man5/${PORTNAME}.ini.5.gz
+post-patch:
+# Respect PREFIX for system-wide config
+ @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
+ ${WRKSRC}/src/config.c \
+ ${WRKSRC}/${PORTNAME}.1.scd
+
+pre-test:
+ @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \
+ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
+ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \
+ ${TOUCH} ${WRKDIR}/.meson_build_tests; \
+ fi
+
.include <bsd.port.mk>
diff --git a/x11/wob/distinfo b/x11/wob/distinfo
index e8a9384db6b0..9406451d59b1 100644
--- a/x11/wob/distinfo
+++ b/x11/wob/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668977355
-SHA256 (francma-wob-0.14.2_GH0.tar.gz) = 898e98fa3070efe1f87a6328c7dc1fb4291cf512fa47ede6843506a046bb1851
-SIZE (francma-wob-0.14.2_GH0.tar.gz) = 21848
+TIMESTAMP = 1694807164
+SHA256 (francma-wob-0.15_GH0.tar.gz) = d16a1a475aeb563f27883adc7d417659b91ae9fba33f19e55f741e01f8f539c9
+SIZE (francma-wob-0.15_GH0.tar.gz) = 22814