aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-01-10 08:58:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-01-10 12:28:32 +0000
commite8163dd859bae7102536a3ab149778b634551e85 (patch)
tree8f00bd69bf1d75a488510852534c02b871521037
parent0ba344935f6f7cbec01738e63224f8571a58096e (diff)
downloadports-e8163dd859bae7102536a3ab149778b634551e85.tar.gz
ports-e8163dd859bae7102536a3ab149778b634551e85.zip
x11/waybar: update to 0.9.9
Changes: https://github.com/Alexays/Waybar/releases/tag/0.9.9 Reported by: GitHub (watch releases)
-rw-r--r--x11/waybar/Makefile13
-rw-r--r--x11/waybar/distinfo6
2 files changed, 14 insertions, 5 deletions
diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index 5da4f7e04d7d..fca406cee734 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -1,6 +1,5 @@
PORTNAME= waybar
-DISTVERSION= 0.9.8
-PORTREVISION= 1
+DISTVERSION= 0.9.9
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
@@ -16,6 +15,7 @@ LIB_DEPENDS= libdate-tz.so:devel/date \
libspdlog.so:devel/spdlog \
libwayland-client.so:graphics/wayland \
libxkbregistry.so:x11/libxkbcommon
+TEST_DEPENDS= catch>0:devel/catch
USES= compiler:c++17-lang gnome meson pkgconfig
USE_GITHUB= yes
@@ -60,6 +60,7 @@ MANPAGES_PLIST_FILES= man/man5/${PORTNAME}-backlight.5.gz \
man/man5/${PORTNAME}-custom.5.gz \
man/man5/${PORTNAME}-disk.5.gz \
man/man5/${PORTNAME}-idle-inhibitor.5.gz \
+ man/man5/${PORTNAME}-inhibitor.5.gz \
man/man5/${PORTNAME}-keyboard-state.5.gz \
man/man5/${PORTNAME}-memory.5.gz \
man/man5/${PORTNAME}-mpd.5.gz \
@@ -75,6 +76,7 @@ MANPAGES_PLIST_FILES= man/man5/${PORTNAME}-backlight.5.gz \
man/man5/${PORTNAME}-temperature.5.gz \
man/man5/${PORTNAME}-tray.5.gz \
man/man5/${PORTNAME}-wlr-taskbar.5.gz \
+ man/man5/${PORTNAME}-wlr-workspaces.5.gz \
man/man5/${PORTNAME}.5.gz \
${NULL}
@@ -100,4 +102,11 @@ post-patch:
-e '/project_version/s/@0@/${DISTVERSIONFULL}/' \
${WRKSRC}/meson.build
+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/waybar/distinfo b/x11/waybar/distinfo
index 13c7b1ea3a86..a9ffbbb99498 100644
--- a/x11/waybar/distinfo
+++ b/x11/waybar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629121654
-SHA256 (Alexays-Waybar-0.9.8_GH0.tar.gz) = 3f067c484aaee3e7d8ded382e72c280a92913b0c4e8a20d0ac9afdf8baf19405
-SIZE (Alexays-Waybar-0.9.8_GH0.tar.gz) = 158869
+TIMESTAMP = 1641805109
+SHA256 (Alexays-Waybar-0.9.9_GH0.tar.gz) = 23a94538538f43a6db4c1c5f7e09e75ab743ded1ccfc737e1f3e0971fe4cdd87
+SIZE (Alexays-Waybar-0.9.9_GH0.tar.gz) = 181603