Subject: [bug#59432] [PATCH core-updates] gnu: wayland: Update to 1.21.0.

From: Adam Faiz <[email-masked]>
Date: Mon, 21 Nov 2022 13:49:08 +0800

From 1de144c94a1f8cedd255fdd67493c2af92be8476 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <[email-masked]>
Date: Mon, 21 Nov 2022 13:20:55 +0800
Subject: [PATCH core-updates] gnu: wayland: Update to 1.21.0.

* gnu/packages/freedesktop.scm (wayland): Update to 1.21.0.
No new Wayland releases will be at https://wayland.freedesktop.org/releases/
since version 1.21.0.
---
  gnu/packages/freedesktop.scm | 18 ++++++++++--------
  1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index d74d6aa935..22bbec56b0 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1028,14 +1028,16 @@ (define-public python-pyxdg
  (define-public wayland
    (package
      (name "wayland")
-    (version "1.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://wayland.freedesktop.org/releases/"
-                                  name "-" version ".tar.xz"))
-              (sha256
-               (base32
-                "09c7rpbwavjg4y16mrfa57gk5ix6rnzpvlnv1wp7fnbh9hak985q"))))
+    (version "1.21.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/wayland/wayland")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0fwad6w5jm32c04wh4gca7d1ixdj4b9dnsiy1h6qd9nxs0w47wwy"))))
      (build-system meson-build-system)
      (outputs '("out" "doc"))
      (arguments
-- 
2.38.1