From fc2b9522057681330d3b507aa69c9aa3b3b8f3e6 Mon Sep 17 00:00:00 2001 From: zamfofex Date: Thu, 20 Oct 2022 09:25:11 -0300 Subject: gnu: Add wld. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/wm.scm (wld): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/wm.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 6bca36f432..cf0dc63a38 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -59,6 +59,7 @@ ;;; Copyright © 2022 Trevor Richards ;;; Copyright © 2022 Fredrik Salomonsson ;;; Copyright © 2022 ( +;;; Copyright © 2022 zamfofex ;;; ;;; This file is part of GNU Guix. ;;; @@ -2953,3 +2954,36 @@ (define-public grimshot an interface over @code{grim}, @code{slurp} and @code{jq}, and supports storing the screenshot either directly to the clipboard using @code{wl-copy} or to a file."))) + +(define-public wld + (let ((commit "6586736176ef50a88025abae835e29a7ca980126") + (revision "1")) + (package + (name "wld") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/michaelforney/wld") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qkd3q8p1s72x688g83fkcarrz2h20904rpd8z44ql6ksgrj9bp3")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (inputs (list fontconfig + libdrm + pixman + wayland)) + (propagated-inputs (list fontconfig pixman)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/michaelforney/wld") + (synopsis "Primitive drawing library for Wayland") + (description "wld is a drawing library that targets Wayland.") + (license license:expat)))) -- cgit v1.2.3