diff options
Diffstat (limited to 'x11/hyprlock')
-rw-r--r-- | x11/hyprlock/Makefile | 12 | ||||
-rw-r--r-- | x11/hyprlock/distinfo | 6 | ||||
-rw-r--r-- | x11/hyprlock/files/patch-CMakeLists.txt | 30 | ||||
-rw-r--r-- | x11/hyprlock/pkg-descr | 13 |
4 files changed, 50 insertions, 11 deletions
diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index a51a14b9d8a3..e4689892ce30 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,7 +1,6 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v -DISTVERSION= 0.8.2 -PORTREVISION= 2 +DISTVERSION= 0.9.1 CATEGORIES= x11 wayland MAINTAINER= tagattie@FreeBSD.org @@ -11,7 +10,8 @@ WWW= https://github.com/hyprwm/hyprlock LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \ +BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ + hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \ wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ @@ -24,11 +24,15 @@ LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper USES= cmake compiler:c++11-lib gl gnome jpeg pkgconfig + USE_GITHUB= yes +GH_ACCOUNT= hyprwm + USE_GL= egl gbm USE_GNOME= cairo pango -GH_ACCOUNT= hyprwm + LDFLAGS+= -Wl,--as-needed # pango deps + PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/hypr/${PORTNAME}.conf diff --git a/x11/hyprlock/distinfo b/x11/hyprlock/distinfo index 60f86a454072..4823ecb9437d 100644 --- a/x11/hyprlock/distinfo +++ b/x11/hyprlock/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746281087 -SHA256 (hyprwm-hyprlock-v0.8.2_GH0.tar.gz) = 14c47e71bdac9213909b11cdda16377dab12e27179d939df5ef2a0083a21e1e8 -SIZE (hyprwm-hyprlock-v0.8.2_GH0.tar.gz) = 80394 +TIMESTAMP = 1754034433 +SHA256 (hyprwm-hyprlock-v0.9.1_GH0.tar.gz) = 03f26ceba049546767a903a5e5bcd78fa4d261a5d116febd45633b88b9f16a97 +SIZE (hyprwm-hyprlock-v0.9.1_GH0.tar.gz) = 83699 diff --git a/x11/hyprlock/files/patch-CMakeLists.txt b/x11/hyprlock/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..7ec6a3c2d392 --- /dev/null +++ b/x11/hyprlock/files/patch-CMakeLists.txt @@ -0,0 +1,30 @@ +--- CMakeLists.txt.orig 2025-07-17 09:05:58 UTC ++++ CMakeLists.txt +@@ -86,14 +86,25 @@ pkg_check_modules( + pangocairo + libdrm + gbm +- pam + hyprutils>=0.8.0 + sdbus-c++>=2.0.0 + hyprgraphics) ++find_library(PAM_FOUND pam) ++if(PAM_FOUND) ++ message(STATUS "Found pam") ++ set(PAM_LIB ${PAM_FOUND}) ++else() ++ pkg_check_modules(PAM IMPORTED_TARGET pam) ++ if(PAM_FOUND) ++ set(PAM_LIB PkgConfig::PAM) ++ else() ++ message(FATAL_ERROR "The required library libpam was not found.") ++ endif() ++endif() + + file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") + add_executable(hyprlock ${SRCFILES}) +-target_link_libraries(hyprlock PRIVATE pam rt Threads::Threads PkgConfig::deps ++target_link_libraries(hyprlock PRIVATE ${PAM_LIB} rt Threads::Threads PkgConfig::deps + OpenGL::EGL OpenGL::GLES3) + + # protocols diff --git a/x11/hyprlock/pkg-descr b/x11/hyprlock/pkg-descr index c84e12082d3d..c63a363a9f01 100644 --- a/x11/hyprlock/pkg-descr +++ b/x11/hyprlock/pkg-descr @@ -2,7 +2,12 @@ Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility. Features: - - uses the secure ext-session-lock protocol - - full support for fractional-scale - - fully GPU accelerated - - multi-threaded resource acquisition for no hitches +- Uses the ext-session-lock protocol +- Support for fractional-scale +- Fully GPU accelerated +- Multi-threaded resource acquisition +- Blurred screenshot as the background +- Native fingerprint support (using libfprint's dbus interface) +- Some of Hyprland's eyecandy: gradient borders, blur, animations, + shadows, etc. +and more... |