summaryrefslogtreecommitdiff
path: root/accessibility/hyprsunset/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/hyprsunset/Makefile')
-rw-r--r--accessibility/hyprsunset/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/accessibility/hyprsunset/Makefile b/accessibility/hyprsunset/Makefile
index adb3aa486bef..a7adc5bb2680 100644
--- a/accessibility/hyprsunset/Makefile
+++ b/accessibility/hyprsunset/Makefile
@@ -1,7 +1,7 @@
PORTNAME= hyprsunset
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2.0
-PORTREVISION= 3
+DISTVERSION= 0.3.1
+PORTREVISION= 1
CATEGORIES= accessibility wayland
MAINTAINER= tagattie@FreeBSD.org
@@ -11,16 +11,27 @@ WWW= https://github.com/hyprwm/hyprsunset
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_FreeBSD_13= fails to build: /usr/local/include/date/date.h:6636:15: error: no member named 'read' in namespace 'date::detail'; did you mean '::read'?
+
BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \
+ hyprland-protocols>=0.4.0:graphics/hyprland-protocols \
wayland-protocols>0:graphics/wayland-protocols
-LIB_DEPENDS= libhyprutils.so:devel/hyprutils \
+LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
+ libhyprutils.so:devel/hyprutils \
libwayland-client.so:graphics/wayland
USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig
+
USE_GITHUB= yes
GH_ACCOUNT= hyprwm
-GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols
+
PLIST_FILES= bin/${PORTNAME} \
lib/systemd/user/${PORTNAME}.service
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282377
+.if exists(/usr/lib/libc++.so)
+LIB_DEPENDS+= libdate-tz.so:devel/date
+USES+= localbase:ldflags
+.endif
+
.include <bsd.port.mk>