Package Details: hyprlock-git 0.5.0.r11.gc3c28feb-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: 0.59
First Submitted: 2024-02-19 07:46 (UTC)
Last Updated: 2024-11-28 22:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

alba4k commented on 2024-05-13 20:32 (UTC)

why, though? it builds perfectly fine without them

kotv commented on 2024-05-13 14:57 (UTC)

@alba4k Please add ninja and meson in makedepends array

musta_ruhtinas commented on 2024-04-26 09:34 (UTC)

libjpeg and libwebp needed to build


CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:634 (message):
  The following required packages were not found:

   - libjpeg
   - libwebp

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal)
  CMakeLists.txt:38 (pkg_check_modules)

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...