diff mbox series

[bug#73956,PATCHv2,rust-team,14/27] gnu: Add rust-libadwaita-sys-0.6.

Message ID c4d27f03b0b5eb25e1606524b87f894eb7e00fd1.1730925691.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#73956,PATCHv2,rust-team,01/27] gnu: Add rust-cfg-expr-0.17. | expand

Commit Message

Giacomo Leidi Nov. 6, 2024, 8:41 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-libadwaita-sys-0.6): New variable;
(rust-libadwaita-sys-0.5): inherit from rust-libadwaita-sys-0.6.

Change-Id: Iab000ff1bd6113193a40600bd030943bcbf66615
---
 gnu/packages/crates-gtk.scm | 41 +++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0fef956a7c..3f4065ba7a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3162,28 +3162,28 @@  (define-public rust-libadwaita-0.5
     (description "Rust bindings for libadwaita.")
     (license license:expat)))
 
-(define-public rust-libadwaita-sys-0.5
+(define-public rust-libadwaita-sys-0.6
   (package
     (name "rust-libadwaita-sys")
-    (version "0.5.3")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "libadwaita-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y"))))
+        (base32 "1a513qlanw6n8dksm1br20a7iz2x1ff5cgg9v5f2dq9bx7j4i9r3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; ‘AdwBannerClass’ undeclared
        #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
-                       ("rust-gio-sys" ,rust-gio-sys-0.18)
-                       ("rust-glib-sys" ,rust-glib-sys-0.18)
-                       ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+                       ("rust-gio-sys" ,rust-gio-sys-0.20)
+                       ("rust-glib-sys" ,rust-glib-sys-0.20)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.20)
                        ("rust-gtk4-sys" ,rust-gtk4-sys-0.7)
                        ("rust-libc" ,rust-libc-0.2)
-                       ("rust-pango-sys" ,rust-pango-sys-0.18)
-                       ("rust-system-deps" ,rust-system-deps-6))
+                       ("rust-pango-sys" ,rust-pango-sys-0.20)
+                       ("rust-system-deps" ,rust-system-deps-7))
        #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
                                    ("rust-tempfile" ,rust-tempfile-3))))
     (native-inputs (list pkg-config))
@@ -3193,6 +3193,31 @@  (define-public rust-libadwaita-sys-0.5
     (description "FFI bindings for libadwaita.")
     (license license:expat)))
 
+(define-public rust-libadwaita-sys-0.5
+  (package
+    (inherit rust-libadwaita-sys-0.6)
+    (name "rust-libadwaita-sys")
+    (version "0.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libadwaita-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y"))))
+    (arguments
+     `(#:tests? #f  ; ‘AdwBannerClass’ undeclared
+       #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+                       ("rust-gio-sys" ,rust-gio-sys-0.18)
+                       ("rust-glib-sys" ,rust-glib-sys-0.18)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+                       ("rust-gtk4-sys" ,rust-gtk4-sys-0.7)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-pango-sys" ,rust-pango-sys-0.18)
+                       ("rust-system-deps" ,rust-system-deps-6))
+       #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-pango-0.19
   (package
     (name "rust-pango")