gnu: swaylock-effects: Update to 1.6.10, use G-expressions.
* gnu/packages/wm.scm (swaylock-effects): Update to 1.6.10. [source]: Switch from commit to release tag. [arguments]: Use G-expressions. [home-page]: Switch to maintained fork. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
12fd8b5280
commit
a5ae3d781b
1 changed files with 19 additions and 28 deletions
|
@ -1675,36 +1675,27 @@ modules for building a Wayland compositor.")
|
||||||
(license license:expat))) ; MIT license
|
(license license:expat))) ; MIT license
|
||||||
|
|
||||||
(define-public swaylock-effects
|
(define-public swaylock-effects
|
||||||
;; Latest release is from November 2020, but doesn't support disabling SSE.
|
(package
|
||||||
(let ((commit "5cb9579faaf5662b111f5722311b701eff1c1d00")
|
(inherit swaylock)
|
||||||
(revision "1"))
|
(name "swaylock-effects")
|
||||||
(package
|
(version "1.6.10")
|
||||||
(inherit swaylock)
|
(source
|
||||||
(name "swaylock-effects")
|
(origin
|
||||||
(version (git-version "1.6-3" revision commit))
|
(method git-fetch)
|
||||||
(source
|
(uri (git-reference
|
||||||
(origin
|
(url "https://github.com/jirutka/swaylock-effects")
|
||||||
(method git-fetch)
|
(commit (string-append "v" version))))
|
||||||
(uri (git-reference
|
(file-name (git-file-name name version))
|
||||||
(url "https://github.com/mortie/swaylock-effects")
|
(sha256
|
||||||
(commit commit)))
|
(base32
|
||||||
(file-name (git-file-name name version))
|
"1d8ri7bzwfr53ybgf23acz57wyhcl2f1nqprcda1v9bzfgsqfk2n"))))
|
||||||
(sha256
|
(arguments
|
||||||
(base32
|
(list #:configure-flags #~'("-Dsse=false")))
|
||||||
"036dkhfqgk7g9vbr5pxgrs66h5fz0rwdsc67i1w51aa9v01r35ca"))))
|
(synopsis "Screen locking utility for Wayland compositors with effects")
|
||||||
(arguments
|
(description "@code{Swaylock-effects} is a fork of swaylock with additional
|
||||||
`(#:configure-flags '("-Dsse=false")
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-meson
|
|
||||||
(lambda _
|
|
||||||
(substitute* "meson.build"
|
|
||||||
(("'-mtune=native',") "")))))))
|
|
||||||
(synopsis "Screen locking utility for Wayland compositors with effects")
|
|
||||||
(description "@code{Swaylock-effects} is a fork of swaylock with additional
|
|
||||||
features, such as the ability to take a screenshot as the background image,
|
features, such as the ability to take a screenshot as the background image,
|
||||||
display a clock or apply image manipulation techniques to the background image.")
|
display a clock or apply image manipulation techniques to the background image.")
|
||||||
(home-page "https://github.com/mortie/swaylock-effects"))))
|
(home-page "https://github.com/jirutka/swaylock-effects")))
|
||||||
|
|
||||||
(define-public swaybg
|
(define-public swaybg
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue