Package Details: hyprlock-git 0.6.1.r8.gde844d39-1

Git Clone URL: https://aur.archlinux.org/hyprlock-git.git (read-only, click to copy)
Package Base: hyprlock-git
Description: Hyprland's GPU-accelerated screen locking utility
Upstream URL: https://github.com/hyprwm/hyprlock
Licenses: BSD-3-Clause
Conflicts: hyprlock
Provides: hyprlock
Submitter: alba4k
Maintainer: alba4k (Vaxry)
Last Packager: alba4k
Votes: 21
Popularity: 1.50
First Submitted: 2024-02-19 07:46 (UTC)
Last Updated: 2025-01-07 15:35 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

eumpf commented on 2024-03-22 18:36 (UTC)

Patching CMakeLists.txt with the patch in upstream commit f237dead6cf7c79b713168fb1053758c771a1dfe in a prepare() function fixes the problem:

diff --git a/PKGBUILD b/PKGBUILD
index aa7893c..b541c60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,6 @@ depends=('wayland' 'hyprlang>=0.4.0' 'cairo' 'pango' 'pam' 'libxkbcommon' 'libgl
 makedepends=('git' 'cmake' 'ninja' 'gcc' 'gdb' 'meson' 'wayland-protocols' 'xorgproto')
-source=("${_pkgname}::git+https://github.com/hyprwm/hyprlock.git")
+source=("${_pkgname}::git+https://github.com/hyprwm/hyprlock.git" "cmake.patch")
 conflicts=("${_pkgname}")
 provides=("${_pkgname}")
-sha256sums=('SKIP')
+sha256sums=('SKIP' 'SKIP')

@@ -25,2 +25,7 @@ pkgver() {

+prepare() {
+    cd "${srcdir}/${_pkgname}"
+    patch -Np1 < ../cmake.patch
+}
+
 build() {

madscience commented on 2024-03-22 13:53 (UTC)

As of this morning, failing to build:

-- Installing: /home/ron/.cache/pikaur/build/hyprlock-git/pkg/hyprlock-git/usr/bin/hyprlock
CMake Error at build/cmake_install.cmake:64 (install):
  install command is not scriptable

bvr commented on 2024-03-02 08:05 (UTC)

add

backup=('etc/pam.d/hyprlock')

justinesmithies commented on 2024-02-26 21:51 (UTC)

As of a commit today the package just keeps saying there's an update and then proceeds to say it's just reinstalling . But if you look at the package versions you'll see why it's doing this now.

hyprlock-git-0.1.0.r70.59997a7-1: parsing pkg list...
:: hyprlock-git-0.1.0.r70.59997a7-1 is up to date -- skipping build
loading packages...
warning: hyprlock-git-0.1.0.r8.gfd8b81ae-1 is up to date -- reinstalling
resolving dependencies...

alba4k commented on 2024-02-21 16:58 (UTC)

will add it as a dependency as soon as I have a second to use my laptop

musta_ruhtinas commented on 2024-02-21 13:20 (UTC)

Yes, adding libglvnd fixes it.

alba4k commented on 2024-02-20 19:23 (UTC) (edited on 2024-02-20 23:45 (UTC) by alba4k)

Does installing libglvnd fix that?

musta_ruhtinas commented on 2024-02-20 08:34 (UTC) (edited on 2024-02-20 08:36 (UTC) by musta_ruhtinas)

The following error occurs when building in a clean chroot

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindOpenGL.cmake:545 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:35 (find_package)

alba4k commented on 2024-02-19 22:34 (UTC)

Not really, other than them being in those PKGBUILDs, which I initially used as a template (which turned out not to be a great idea, as I had to change multiple things). https://github.com/hyprwm/aur/blob/main/PKGBUILD-hyprpaper-git

They could totally be removed, which, tbh, I could even do right now