.
This commit is contained in:
parent
2f6454c6b6
commit
9e7aab702e
1 changed files with 13 additions and 4 deletions
|
@ -227,6 +227,7 @@ command line tool called @code{udcli} that incorporates the library.")
|
|||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list #:build-type "release"
|
||||
#:parallel-build? #t
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-path
|
||||
|
@ -397,7 +398,7 @@ more.")
|
|||
(define-public hyprlock
|
||||
(package
|
||||
(name "hyprlock")
|
||||
(version "0.2.0")
|
||||
(version "0.3.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -405,17 +406,25 @@ more.")
|
|||
(commit (string-append "v" version))))
|
||||
(sha256
|
||||
(base32
|
||||
"0vj8jfflc8zw769dqdqq7ms3dfafsirb2c0g37xsqkc4rzzri7nn"))))
|
||||
"0w2a25hivn8xd8p05vc9xg57rd9siv12dwmr4skpqx4dcmxxbg5d"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(delete 'check))))
|
||||
#:parallel-build? #t
|
||||
#:phases #~(modify-phases
|
||||
%standard-phases
|
||||
(delete 'check)
|
||||
;; https://github.com/hyprwm/hyprlock/issues/220
|
||||
(add-after 'unpack 'patch-cmakelists
|
||||
(lambda _
|
||||
(invoke "sed" "-zi" "s/install(CODE.*)/install(FILES \"${CMAKE_SOURCE_DIR}\\/pam\\/hyprlock\" DESTINATION \"${CMAKE_INSTALL_FULL_SYSCONFDIR}\\/pam.d\")/" "CMakeLists.txt")
|
||||
(invoke "cat" "CMakeLists.txt"))))))
|
||||
(native-inputs
|
||||
(list gcc-13
|
||||
pkg-config))
|
||||
(inputs
|
||||
(list cairo-for-hyprland
|
||||
egl-gbm
|
||||
pango
|
||||
linux-pam
|
||||
mesa
|
||||
|
|
Loading…
Reference in a new issue