Subject: [PATCH 3/4] gnu: libqmi: Update to 1.34.0.

From: Zheng Junjie <[email-masked]>
Date: Thu, 24 Oct 2024 15:40:38 +0800

* gnu/packages/freedesktop.scm (libqmi): Update to 1.34.0.
[inputs]: Add libmbim and libqrtr-glib.
[native-inputs]: Add gobject-introspection, bash-completion and
help2man. Replace python-wrapper with python-minimal.
[build-system]: Switch to meson-build-system.
[source]: Swich to git-fetch.

Change-Id: I8a023cc07e5484d8abd5df4615ad5f4115729c1a
---
 gnu/packages/freedesktop.scm | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 321ab2a1d1e..ccba510303d 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1966,21 +1966,25 @@ (define-public libqrtr-glib
 (define-public libqmi
   (package
     (name "libqmi")
-    (version "1.30.8")
+    (version "1.34.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://www.freedesktop.org/software/libqmi/"
-                    "libqmi-" version ".tar.xz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.freedesktop.org/mobile-broadband/libqmi")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "140rmjw436rh6rqmnfw6yaflpffd27ilwcv4s9jvvl1skv784946"))))
-    (build-system gnu-build-system)
+                "1m5y2sf14qd2i9mvbb68wxqlfwvpiprgz8zmcx6wb2cnjgsszmwp"))))
+    (build-system meson-build-system)
     (inputs
-     (list libgudev))
+     (list libgudev libmbim libqrtr-glib))
     (native-inputs
      (list `(,glib "bin") ; for glib-mkenums
-           pkg-config python-wrapper))
+           pkg-config python-minimal
+           gobject-introspection
+           bash-completion
+           help2man))
     (propagated-inputs
      (list glib)) ; required by qmi-glib.pc
     (synopsis "Library to communicate with QMI-powered modems")
-- 
2.46.0