git: 7cbc51d59454 - main - x11/hypridle: update to 0.1.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Mar 2025 00:21:42 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7cbc51d59454fff6ee8e1a6748dd0713df16ca12
commit 7cbc51d59454fff6ee8e1a6748dd0713df16ca12
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-03-28 14:17:06 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-03-29 00:18:59 +0000
x11/hypridle: update to 0.1.6
Changes: https://github.com/hyprwm/hypridle/releases/tag/v0.1.6
Reported by: GitHub (watch releases)
---
x11/hypridle/Makefile | 7 ++++---
x11/hypridle/distinfo | 8 +++++---
x11/hypridle/files/patch-CMakeLists.txt | 23 +++++++++++++++++++++++
3 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/x11/hypridle/Makefile b/x11/hypridle/Makefile
index 39b92b10eb29..46b7194f3ab6 100644
--- a/x11/hypridle/Makefile
+++ b/x11/hypridle/Makefile
@@ -1,7 +1,6 @@
PORTNAME= hypridle
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.5
-PORTREVISION= 4
+DISTVERSION= 0.1.6
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
@@ -11,7 +10,8 @@ WWW= https://github.com/hyprwm/hypridle
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
+BUILD_DEPENDS= hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \
+ wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprutils.so:devel/hyprutils \
libsdbus-c++.so:devel/sdbus-cpp \
@@ -20,6 +20,7 @@ LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
USES= compiler:c++11-lib cmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= hyprwm
+GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols
LDFLAGS+= -Wl,--as-needed # sdbus-cpp deps
PLIST_FILES= bin/${PORTNAME} \
lib/systemd/user/${PORTNAME}.service \
diff --git a/x11/hypridle/distinfo b/x11/hypridle/distinfo
index e63b25f1f901..fc3e365f6a9a 100644
--- a/x11/hypridle/distinfo
+++ b/x11/hypridle/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1730561387
-SHA256 (hyprwm-hypridle-v0.1.5_GH0.tar.gz) = 174d4b4706ec5c79e6d80a7cc3b297b5564c923f60f408c1638b55424a998a4b
-SIZE (hyprwm-hypridle-v0.1.5_GH0.tar.gz) = 13946
+TIMESTAMP = 1743171426
+SHA256 (hyprwm-hypridle-v0.1.6_GH0.tar.gz) = ea4faf92e7ef303a538551e2b0ea67a557b2d711574993a5a3fea3b27667dc63
+SIZE (hyprwm-hypridle-v0.1.6_GH0.tar.gz) = 17053
+SHA256 (hyprwm-hyprland-protocols-v0.6.2_GH0.tar.gz) = bba082af141599d4342e7b8505401a6e3a32be819d9eb23ce6c90f7407e62c1f
+SIZE (hyprwm-hyprland-protocols-v0.6.2_GH0.tar.gz) = 9887
diff --git a/x11/hypridle/files/patch-CMakeLists.txt b/x11/hypridle/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a3f2db7850a9
--- /dev/null
+++ b/x11/hypridle/files/patch-CMakeLists.txt
@@ -0,0 +1,23 @@
+-- Checking for module 'hyprland-protocols>=0.6.0'
+-- Package 'hyprland-protocols' not found
+CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
+ The following required packages were not found:
+
+ - hyprland-protocols>=0.6.0
+
+--- CMakeLists.txt.orig 2025-03-28 14:17:06 UTC
++++ CMakeLists.txt
+@@ -57,8 +57,12 @@ message(STATUS "Found wayland-scanner pkgdatadir at ${
+ pkg_get_variable(WAYLAND_SCANNER_PKGDATA_DIR wayland-scanner pkgdatadir)
+ message(STATUS "Found wayland-scanner pkgdatadir at ${WAYLAND_SCANNER_PKGDATA_DIR}")
+
+-pkg_check_modules(hyprland_protocols_dep REQUIRED IMPORTED_TARGET hyprland-protocols>=0.6.0)
++pkg_check_modules(hyprland_protocols_dep IMPORTED_TARGET hyprland-protocols>=0.6.0)
++if(hyprland_protocols_dep_FOUND)
+ pkg_get_variable(HYPRLAND_PROTOCOLS hyprland-protocols pkgdatadir)
++else()
++set(HYPRLAND_PROTOCOLS "${CMAKE_SOURCE_DIR}/subprojects/hyprland-protocols")
++endif()
+ message(STATUS "Found hyprland-protocols at ${HYPRLAND_PROTOCOLS}")
+
+ function(protocolnew protoPath protoName external)