diff mbox series

[bug#74306,gnome-team,18/44] gnu: libmbim: Update to 1.30.0.

Message ID b69ef4c921d779c136a7535ba5bbbf59e818ef93.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 (libmbim): Update to 1.30.0.
[source]: Fetch using git.
[build-system]: Use meson-build-system.
[native-inputs]: Add help2man.
[inputs]: Add bash-completion.

Change-Id: I906e2620997537dade292bda26bfc8347ae6a65f
---
 gnu/packages/freedesktop.scm | 34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 0128922295..4fdb2e4c0c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1962,23 +1962,29 @@  (define-public accountsservice
 (define-public libmbim
   (package
     (name "libmbim")
-    (version "1.26.4")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://www.freedesktop.org/software/libmbim/"
-                    "libmbim-" version ".tar.xz"))
-              (sha256
-               (base32
-                "1ncaarl4lgc7i52rwz50yq701wk2rr478cjybxbifsjqqk2cx27n"))))
-    (build-system gnu-build-system)
+    (version "1.30.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/mobile-broadband/libmbim")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "00kbjvpka51zrfjigzd3rk6r4x8hkg1xfj7d9zl9lccysnxyjx5h"))))
+    (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))
     (propagated-inputs
-     (list glib)) ; required by mbim-glib.pc
+     (list glib))                       ;required by mbim-glib.pc
     (inputs
-     (list libgudev))
+     (list bash-completion
+           libgudev))
     (synopsis "Library to communicate with MBIM-powered modems")
     (home-page "https://www.freedesktop.org/wiki/Software/libmbim/")
     (description