diff options
author | dan <i@dan.games> | 2024-05-25 12:17:30 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-06-22 21:11:33 +0800 |
commit | 8ed430586466d8ada91d6d252bfafe4b244e731d (patch) | |
tree | 16e88928c0ea8b4923d2c4de87a6bf81340b4dc9 | |
parent | 1e336025957583fd978df49a24c6a1bb358c618d (diff) | |
download | guix-8ed430586466d8ada91d6d252bfafe4b244e731d.tar.gz guix-8ed430586466d8ada91d6d252bfafe4b244e731d.zip |
gnu: Add wbg.
* gnu/packages/wm.scm (wbg): New variable.
Change-Id: Ib20af5fee37ab258224ead6caf35af3b9c78e802
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r-- | gnu/packages/wm.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index ad9d814401..5564d23ade 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -72,6 +72,7 @@ ;;; Copyright © 2024 Erik Eduardo Alonso Hernández <erik@erikeduardo.xyz> ;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org> ;;; Copyright © 2024 bigbug <bigbookofbug@proton.me> +;;; Copyright © 2024 dan <i@dan.games> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3838,6 +3839,38 @@ notable features include: It is inspired by dwm and xmonad.") (license license:expat)))) +(define-public wbg + ;; This commit fixes a build error: https://codeberg.org/dnkl/wbg/issues/11 + (let ((commit "dd36cce8c47bb0e17a789cf2bd95a51e29b59e78") + (revision "0")) + (package + (name "wbg") + (version (git-version "1.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/dnkl/wbg") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nsb8w3myprhnwr59i6g4nwkc8fx67d40l70svjmwfmhpqy6zc18")))) + (build-system meson-build-system) + (arguments + (list + #:build-type "release" + #:configure-flags #~(list "-Dpng=enabled" + "-Djpeg=enabled" + "-Dwebp=enabled"))) + (native-inputs (list pkg-config tllist wayland-protocols)) + (inputs (list libjpeg-turbo libpng libwebp pixman wayland)) + (home-page "https://codeberg.org/dnkl/wbg") + (synopsis "Wallpaper application for Wayland compositors") + (description + "wbg is a super simple wallpaper application for Wayland compositors +implementing the layer-shell protocol.") + (license license:expat)))) + (define-public wsbg (let ((commit "15b0d0f6910ea97b9bcc471695fac07270955dd2") (revision "0") |