From 438233b5868d91a7303d85072d8e4c826d0c6d29 Mon Sep 17 00:00:00 2001
From: David Beauchamp <david@archlinuxarm.org>
Date: Thu, 28 Apr 2022 14:16:34 -0400
Subject: [PATCH] community/fwupd to 1.8.0-1

---
 community/fwupd/PKGBUILD | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/community/fwupd/PKGBUILD b/community/fwupd/PKGBUILD
index fbe97bb62..5a62dd881 100644
--- a/community/fwupd/PKGBUILD
+++ b/community/fwupd/PKGBUILD
@@ -13,7 +13,7 @@
 #  - replace efi_sbat_distro_url with ALARM URL
 
 pkgname=fwupd
-pkgver=1.7.7
+pkgver=1.8.0
 pkgrel=1
 pkgdesc="Simple daemon to allow session software to update firmware"
 arch=(x86_64)
@@ -22,7 +22,7 @@ license=(LGPL)
 depends=(libxmlb python libgusb
          polkit shared-mime-info tpm2-tss flashrom
          libjcat gcab hicolor-icon-theme
-         libarchive.so libcurl.so
+         libarchive.so libcurl.so libcbor.so
          libjson-glib-1.0.so libgudev-1.0.so libmm-glib.so
          libqmi-glib.so libprotobuf-c.so)
 optdepends=(
@@ -45,7 +45,7 @@ backup=('etc/fwupd/daemon.conf'
         'etc/fwupd/uefi_capsule.conf'
 )
 source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=('414994d3acdf674a90f70a2da16da4e176a5ad11fe636e6ab3f0e1a49e062969'
+sha256sums=('2c09622e7392a30b4e450434338cf670d43328c2f213f46c5ffff101689fae9b'
             'SKIP')
 validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes <richard@hughsie.com>
 
@@ -55,6 +55,7 @@ build() {
         -D plugin_modem_manager=true \
         -D plugin_intel_spi=false \
         -D lzma=true \
+        -D cbor=enabled \
         -D docs=gtkdoc \
         -D plugin_flashrom=true \
         -D supported_build=true \