summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-01-01 15:10:12 +0000
committerChristopher Baines <mail@cbaines.net>2020-01-02 21:22:41 +0000
commitcfd9913fbea824b6a93e6808207cbd557a360d9b (patch)
tree4b0a7b68ad4c01d80ee7a3b2b118862deb873375 /gnu
parent49dbeacb9dbe230abec10735ca51ffdcc83f4dd8 (diff)
downloadguix-cfd9913fbea824b6a93e6808207cbd557a360d9b.tar.gz
gnu: libosinfo: Update to 1.7.1.
* gnu/packages/virtualization.scm (libosinfo): Update to 1.7.1.
[source]: Switch the release tarball to xz compression.
[build-system]: Switch to the meson build system.
[arguments]: Switch the configure flags style to work with Meson.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/virtualization.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 33bfdade0f..51ba3c602a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -87,6 +87,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -302,21 +303,21 @@ server and embedded PowerPC, and S390 guests.")
 (define-public libosinfo
   (package
     (name "libosinfo")
-    (version "1.5.0")
+    (version "1.7.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://releases.pagure.org/libosinfo/libosinfo-"
-                           version ".tar.gz"))
+                           version ".tar.xz"))
        (sha256
         (base32
-         "12b0xj9fz9q91d1pz9xm6aqap5k1ip0m9m3qvqmwjy1lk1kjasdz"))))
-    (build-system gnu-build-system)
+         "1s97sv24bybggjx6hgqba2qdqz3ivfpd4cmkh4zm5y59sim109mv"))))
+    (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-       (list (string-append "--with-usb-ids-path="
+       (list (string-append "-Dwith-usb-ids-path="
                             (assoc-ref %build-inputs "usb.ids"))
-             (string-append "--with-pci-ids-path="
+             (string-append "-Dwith-pci-ids-path="
                             (assoc-ref %build-inputs "pci.ids")))))
     (inputs
      `(("libsoup" ,libsoup)