mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Changes: https://github.com/hyprwm/hypridle/releases/tag/v0.1.6 Reported by: GitHub (watch releases)
23 lines
1 KiB
Text
23 lines
1 KiB
Text
-- 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)
|