diff mbox series

[bug#73981,v2,3/4] gnu: libqmi: Update to 1.34.0.

Message ID 8db675763609f4eab9d31d246f070e86c3623a7c.1731382968.git.zhengjunjie@iscas.ac.cn
State New
Headers show
Series update modem-manager and deps | expand

Commit Message

Z572 Nov. 12, 2024, 3:46 a.m. UTC
* gnu/packages/freedesktop.scm (libqmi): Update to 1.34.0.
[inputs]: Add bash-completion.
[propagated-inputs]: Add libmbim and libqrtr-glib.
[native-inputs]: Add gobject-introspection 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 | 38 +++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 1a192f0a806..a3dc92108ec 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1971,23 +1971,33 @@  (define-public libqrtr-glib
 (define-public libqmi
   (package
     (name "libqmi")
-    (version "1.30.8")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://www.freedesktop.org/software/libqmi/"
-                    "libqmi-" version ".tar.xz"))
-              (sha256
-               (base32
-                "140rmjw436rh6rqmnfw6yaflpffd27ilwcv4s9jvvl1skv784946"))))
-    (build-system gnu-build-system)
+    (version "1.34.0")
+    (source
+     (origin
+       (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
+         "1m5y2sf14qd2i9mvbb68wxqlfwvpiprgz8zmcx6wb2cnjgsszmwp"))))
+    (build-system meson-build-system)
     (inputs
-     (list libgudev))
+     (list
+      bash-completion
+      libgudev))
     (native-inputs
-     (list `(,glib "bin") ; for glib-mkenums
-           pkg-config python-wrapper))
+     (list `(,glib "bin")               ;for glib-mkenums
+           gobject-introspection
+           help2man
+           pkg-config
+           python-minimal))
+    ;; These are required by qmi-glib.pc.
     (propagated-inputs
-     (list glib)) ; required by qmi-glib.pc
+     (list glib
+           libmbim
+           libqrtr-glib))
     (synopsis "Library to communicate with QMI-powered modems")
     (home-page "https://www.freedesktop.org/wiki/Software/libqmi/")
     (description