Package Details: hyprlock-git 0.2.0.r20.g2448774d-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: 19
Popularity: 6.95
First Submitted: 2024-02-19 07:46 (UTC)
Last Updated: 2024-04-20 13:48 (UTC)

Latest Comments

1 2 Next › Last »

Hellsingoff commented on 2024-04-11 05:16 (UTC)

nix/cmake.patch: No such file or directory

file was removed (last commits 7 hours ago)

h3ss commented on 2024-03-27 01:21 (UTC) (edited on 2024-03-27 01:21 (UTC) by h3ss)

If you're still getting an error like:

/home/john/.cache/paru/clone/hyprlock-git/PKGBUILD: line 28: nix/cmake.patch: No such file or directory

You can fix it by deleting the cache for your package manager, e.g.:

rm -rf ~/.cache/paru

or

rm -rf ~/.cache/yay

alekgr commented on 2024-03-24 00:40 (UTC) (edited on 2024-03-24 00:44 (UTC) by alekgr)

looks like it builds fine manually,

@waxerski closed the ticket https://github.com/hyprwm/hyprlock/issues/220

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.