[gnome-build-meta/valentindavid/fwupd] Add fwupd



commit 7cc80ea8b69e0b8ec341ca73c4ebf5cc757badcd
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     | 47 ++++++++++++++++++++++++++++++++++++++++
 elements/core-deps/libjcat.bst   | 19 ++++++++++++++++
 elements/core-deps/xmlb.bst      |  2 +-
 elements/core/gnome-software.bst |  3 ++-
 5 files changed, 71 insertions(+), 2 deletions(-)
---
diff --git a/elements/core-deps.bst b/elements/core-deps.bst
index b7f000e4..ef384a53 100644
--- a/elements/core-deps.bst
+++ b/elements/core-deps.bst
@@ -24,6 +24,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
@@ -65,6 +66,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..4f4fc248
--- /dev/null
+++ b/elements/core-deps/fwupd.bst
@@ -0,0 +1,47 @@
+kind: meson
+
+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/libgudev.bst
+- freedesktop-sdk.bst:components/libarchive.bst
+- freedesktop-sdk.bst:components/efivar.bst
+- freedesktop-sdk.bst:components/tpm2-tss.bst
+- freedesktop-sdk.bst:components/genpeimg.bst
+- freedesktop-sdk.bst:components/python3-pil.bst
+
+(?):
+- arch in ['x86_64', 'i686']:
+    depends:
+      (>):
+      - freedesktop-sdk.bst:components/libsmbios.bst
+
+variables:
+  meson-local: >-
+    -Dplugin_dell=%{plugin-dell}
+  plugin-dell: 'false'
+  (?):
+  - arch in ['x86_64', 'i686']:
+      plugin-dell: 'true'
+
+sources:
+- kind: tar
+  url: github_com:fwupd/fwupd/archive/1.3.11.tar.gz
diff --git a/elements/core-deps/libjcat.bst b/elements/core-deps/libjcat.bst
new file mode 100644
index 00000000..9d56fa41
--- /dev/null
+++ b/elements/core-deps/libjcat.bst
@@ -0,0 +1,19 @@
+kind: meson
+
+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
+
+sources:
+- kind: tar
+  url: github_com:hughsie/libjcat/archive/0.1.3.tar.gz
diff --git a/elements/core-deps/xmlb.bst b/elements/core-deps/xmlb.bst
index 0981292d..62b8aa83 100644
--- a/elements/core-deps/xmlb.bst
+++ b/elements/core-deps/xmlb.bst
@@ -1,7 +1,7 @@
 kind: meson
 sources:
 - kind: tar
-  url: https://github.com/hughsie/libxmlb/archive/0.1.7.tar.gz
+  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 b3d758d2..d3233e5e 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]