guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add swaylock-effects.


From: guix-commits
Subject: branch master updated: gnu: Add swaylock-effects.
Date: Sat, 18 Sep 2021 09:27:46 -0400

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 511dc68  gnu: Add swaylock-effects.
511dc68 is described below

commit 511dc6877e0664d83fd800cc601fa94c231a0d0f
Author: phodina <phodina@protonmail.com>
AuthorDate: Sat Sep 18 12:52:47 2021 +0000

    gnu: Add swaylock-effects.
    
    * gnu/packages/wm.scm (swaylock-effects): New variable.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/wm.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 957c5a0..4413999 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1617,6 +1617,38 @@ modules for building a Wayland compositor.")
     (description "Swaylock is a screen locking utility for Wayland 
compositors.")
     (license license:expat))) ; MIT license
 
+(define-public swaylock-effects
+  ;; Latest release is from November 2020, but doesn't support disabling SSE.
+  (let ((commit "5cb9579faaf5662b111f5722311b701eff1c1d00")
+        (revision "1"))
+    (package
+      (inherit swaylock)
+      (name "swaylock-effects")
+      (version (git-version "1.6-3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mortie/swaylock-effects";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "036dkhfqgk7g9vbr5pxgrs66h5fz0rwdsc67i1w51aa9v01r35ca"))))
+      (arguments
+       `(#: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,
+display a clock or apply image manipulation techniques to the background 
image.")
+      (home-page "https://github.com/mortie/swaylock-effects";))))
+
 (define-public swaybg
   (package
     (name "swaybg")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]