diff --git a/accessibility/hyprsunset/Makefile b/accessibility/hyprsunset/Makefile index b037f27b2330..a131d03cc7e0 100644 --- a/accessibility/hyprsunset/Makefile +++ b/accessibility/hyprsunset/Makefile @@ -1,35 +1,33 @@ PORTNAME= hyprsunset DISTVERSIONPREFIX= v -DISTVERSION= 0.3.3 -PORTREVISION= 3 +DISTVERSION= 0.4.0 CATEGORIES= accessibility wayland MAINTAINER= tagattie@FreeBSD.org COMMENT= Blue light filter on Hyprland WWW= https://github.com/hyprwm/hyprsunset LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE 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= 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 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 diff --git a/accessibility/hyprsunset/distinfo b/accessibility/hyprsunset/distinfo index ec1951e41b5e..4b7942b028ce 100644 --- a/accessibility/hyprsunset/distinfo +++ b/accessibility/hyprsunset/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759978834 -SHA256 (hyprwm-hyprsunset-v0.3.3_GH0.tar.gz) = cf2b3cc836bdeb7ac3ae78cf98e8cc4a06093e8d8215ff4da2380843dcf1a5dc -SIZE (hyprwm-hyprsunset-v0.3.3_GH0.tar.gz) = 15379 +TIMESTAMP = 1784102827 +SHA256 (hyprwm-hyprsunset-v0.4.0_GH0.tar.gz) = 5980e65ec650010e36c52e5f5acc0df9fd2d20051c63b89305bdc13276f237a6 +SIZE (hyprwm-hyprsunset-v0.4.0_GH0.tar.gz) = 15401 diff --git a/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp index c726460f2f0c..1e7a3ad551f3 100644 --- a/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp +++ b/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp @@ -1,32 +1,27 @@ ---- src/Hyprsunset.cpp.orig 2025-10-03 22:29:52 UTC +--- src/Hyprsunset.cpp.orig 2026-07-13 18:54:52 UTC +++ src/Hyprsunset.cpp -@@ -1,13 +1,29 @@ - #include "ConfigManager.hpp" - #include "helpers/Log.hpp" - #include "IPCSocket.hpp" -+#include - #include - #include +@@ -7,10 +7,24 @@ + #include #include #include +#include #include #include -+#include + #include #include + +#if defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE) || \ -+ (defined(_LIBCPP_HAS_TIME_ZONE_DATABASE) && \ -+ _LIBCPP_HAS_TIME_ZONE_DATABASE == 0) ++ (defined(_LIBCPP_HAS_TIME_ZONE_DATABASE) && \ ++ _LIBCPP_HAS_TIME_ZONE_DATABASE == 0) +#pragma comment(lib, "date-tz") +#include +namespace std { + namespace chrono { + using date::current_zone; + using date::zoned_time; + } +} +#endif #define TIMESPEC_NSEC_PER_SEC 1000000000L