[gnome-build-meta/jjardon/gnome_3_37_92: 5/44] Add fwupd




commit 864c50a70d851183acc7e784a47f9c536bfcf2bc
Author: Valentin David <valentin david codethink co uk>
Date:   Tue Jul 14 13:27:09 2020 +0200

    Add fwupd
    
    Elements for fwupd and libjcat are copied from Freedesktop SDK because
    of dependencies to pango, libsoup, gcab, json-glib.

 elements/core-deps.bst           |  2 ++
 elements/core-deps/fwupd.bst     | 42 ++++++++++++++++++++++++++++++++++++++++
 elements/core-deps/libjcat.bst   | 19 ++++++++++++++++++
 elements/core-deps/xmlb.bst      |  3 +--
 elements/core/gnome-software.bst |  3 ++-
 5 files changed, 66 insertions(+), 3 deletions(-)
---
diff --git a/elements/core-deps.bst b/elements/core-deps.bst
index 237df112..5a06b8f2 100644
--- a/elements/core-deps.bst
+++ b/elements/core-deps.bst
@@ -26,6 +26,7 @@ depends:
 - core-deps/exiv2.bst
 - core-deps/flatpak.bst
 - core-deps/folks.bst
+- core-deps/fwupd.bst
 - core-deps/gegl.bst
 - core-deps/geocode-glib.bst
 - core-deps/gexiv2.bst
@@ -66,6 +67,7 @@ depends:
 - core-deps/libgxps.bst
 - core-deps/libhandy-0.bst
 - core-deps/libhandy.bst
+- core-deps/libjcat.bst
 - core-deps/libmbim.bst
 - core-deps/libmediaart.bst
 - core-deps/libmusicbrainz.bst
diff --git a/elements/core-deps/fwupd.bst b/elements/core-deps/fwupd.bst
new file mode 100644
index 00000000..e4bbfcd8
--- /dev/null
+++ b/elements/core-deps/fwupd.bst
@@ -0,0 +1,42 @@
+kind: meson
+
+sources:
+- kind: tar
+  url: github_com:fwupd/fwupd/archive/1.3.11.tar.gz
+
+build-depends:
+- sdk/gtk-doc.bst
+- sdk/gobject-introspection.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+- freedesktop-sdk.bst:components/systemd.bst
+- freedesktop-sdk.bst:components/git-minimal.bst
+- freedesktop-sdk.bst:components/cmake.bst
+- freedesktop-sdk.bst:components/polkit.bst
+- freedesktop-sdk.bst:components/help2man.bst
+- freedesktop-sdk.bst:components/liberation-fonts.bst
+
+depends:
+- sdk/pygobject.bst
+- sdk/pycairo.bst
+- sdk/libsoup.bst
+- sdk/glib.bst
+- sdk/pango.bst
+- sdk/gcab.bst
+- core-deps/libjcat.bst
+- core-deps/xmlb.bst
+- freedesktop-sdk.bst:components/cairo.bst
+- freedesktop-sdk.bst:components/efivar.bst
+- freedesktop-sdk.bst:components/genpeimg.bst
+- freedesktop-sdk.bst:components/libarchive.bst
+- freedesktop-sdk.bst:components/libgudev.bst
+- freedesktop-sdk.bst:components/libsmbios-maybe.bst
+- freedesktop-sdk.bst:components/python3-pil.bst
+- freedesktop-sdk.bst:components/tpm2-tss.bst
+
+variables:
+  meson-local: >-
+    -Dplugin_dell=%{plugin-dell}
+  plugin-dell: 'false'
+  (?):
+  - arch in ['x86_64', 'i686']:
+      plugin-dell: 'true'
diff --git a/elements/core-deps/libjcat.bst b/elements/core-deps/libjcat.bst
new file mode 100644
index 00000000..094cd055
--- /dev/null
+++ b/elements/core-deps/libjcat.bst
@@ -0,0 +1,19 @@
+kind: meson
+
+sources:
+- kind: tar
+  url: github_com:hughsie/libjcat/archive/0.1.3.tar.gz
+
+build-depends:
+- sdk/gobject-introspection.bst
+- sdk/gtk-doc.bst
+- sdk/vala.bst
+- freedesktop-sdk.bst:components/help2man.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- core-deps/libgusb.bst
+- sdk/glib.bst
+- sdk/json-glib.bst
+- freedesktop-sdk.bst:components/gnutls.bst
+- freedesktop-sdk.bst:components/gpgme.bst
diff --git a/elements/core-deps/xmlb.bst b/elements/core-deps/xmlb.bst
index 98c342fa..62b8aa83 100644
--- a/elements/core-deps/xmlb.bst
+++ b/elements/core-deps/xmlb.bst
@@ -1,8 +1,7 @@
 kind: meson
 sources:
 - kind: tar
-  url: https://github.com/hughsie/libxmlb/archive/0.1.7.tar.gz
-  ref: 34be33bb90b521c02ed53c359f088259a74ca75becb422d015f6f38e96a42245
+  url: https://github.com/hughsie/libxmlb/archive/0.1.15.tar.gz
 build-depends:
 - sdk/gtk-doc.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
diff --git a/elements/core/gnome-software.bst b/elements/core/gnome-software.bst
index 3ebef0d6..656b1699 100644
--- a/elements/core/gnome-software.bst
+++ b/elements/core/gnome-software.bst
@@ -9,6 +9,7 @@ build-depends:
 depends:
 - core-deps/eos-updater.bst
 - core-deps/flatpak.bst
+- core-deps/fwupd.bst
 - core-deps/gnome-online-accounts.bst
 - core-deps/gspell.bst
 - core-deps/liboauth.bst
@@ -28,7 +29,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 variables:
   meson-local: >-
-    -Dfwupd=false
+    -Dfwupd=true
     -Dvalgrind=false
     -Dpolkit=true
     -Dflatpak=true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]