unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zamfofex <zamfofex@twdb.moe>
To: 58657@debbugs.gnu.org
Cc: zamfofex <zamfofex@twdb.moe>
Subject: [bug#58657] [PATCH 1/3] gnu: Add wld.
Date: Thu, 20 Oct 2022 09:25:11 -0300	[thread overview]
Message-ID: <8313537a94bf69cc0b55f240d37cc53a2f499f18.1666268609.git.zamfofex@twdb.moe> (raw)
In-Reply-To: <cover.1666268609.git.zamfofex@twdb.moe>

* gnu/packages/wm.scm (wld): New variable.
---
 gnu/packages/wm.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index af406ed2ed..94dfd28f4a 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -58,6 +58,7 @@
 ;;; Copyright © 2022 Elais Player <elais@fastmail.com>
 ;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
 ;;; Copyright © 2022 Fredrik Salomonsson <plattfot@posteo.net>
+;;; Copyright © 2022 zamfofex <zamfofex@twdb.moe>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2931,3 +2932,37 @@ (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)))
+                (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 "A primitive drawing library targeted at Wayland")
+      (description "wld is a drawing library that targets Wayland.")
+      (license license:expat))))
-- 
2.38.0





  reply	other threads:[~2022-10-20 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 12:25 [bug#58654] [PATCH 0/3] add velox zamfofex
2022-10-20 12:25 ` zamfofex [this message]
2022-11-18 13:51   ` bug#58657: [PATCH 1/3] gnu: Add wld Ludovic Courtès
2022-10-20 12:25 ` [bug#58655] [PATCH 2/3] gnu: Add swc zamfofex
2022-11-28 21:48   ` [bug#58654] [PATCH 0/3] add velox Ludovic Courtès
2022-10-20 12:25 ` [bug#58656] [PATCH 3/3] gnu: Add velox zamfofex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8313537a94bf69cc0b55f240d37cc53a2f499f18.1666268609.git.zamfofex@twdb.moe \
    --to=zamfofex@twdb.moe \
    --cc=58657@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).