diff mbox series

[bug#74306,gnome-team,20/44] gnu: libqmi: Update to 1.34.0.

Message ID 854de077cdb26905bd28930f3d8d782eeb4939bc.1731303037.git.maxim.cournoyer@gmail.com
State New
Headers show
Series gstreamer, GTK, fontmanager updates | expand

Commit Message

Maxim Cournoyer Nov. 11, 2024, 6:17 a.m. UTC
* gnu/packages/freedesktop.scm (libqmi): Update to 1.34.0.
[source]: Fetch using git.
[build-system]: Use meson-build-system.
[native-inputs]: Add gobject-introspection, help2man.
[inputs]: Add bash-completion.
[propagated-inputs]: Add libmbim and libqrtr-glib.

Change-Id: Id5234ac6ad21feb9a0d5fcb79727086b3565702b
---
 gnu/packages/freedesktop.scm | 39 ++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 15 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index f59c6cb0ad..aa41d3c329 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2021,23 +2021,32 @@  (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)
-    (inputs
-     (list libgudev))
+    (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)
     (native-inputs
-     (list `(,glib "bin") ; for glib-mkenums
-           pkg-config python-wrapper))
+     (list `(,glib "bin")               ;for glib-mkenums
+           gobject-introspection
+           help2man
+           pkg-config
+           python-wrapper))
+    (inputs
+     (list bash-completion
+           libgudev))
     (propagated-inputs
-     (list glib)) ; required by qmi-glib.pc
+     ;; These are 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