diff --git a/extra/fwupd/.SRCINFO b/extra/fwupd/.SRCINFO index c8dc10033..124af2b3e 100644 --- a/extra/fwupd/.SRCINFO +++ b/extra/fwupd/.SRCINFO @@ -1,11 +1,12 @@ pkgbase = fwupd pkgdesc = Simple daemon to allow session software to update firmware - pkgver = 1.9.25 + pkgver = 2.0.0 pkgrel = 1 url = https://github.com/fwupd/fwupd arch = x86_64 license = LGPL-2.1-or-later checkdepends = umockdev + checkdepends = python-dbusmock makedepends = bash-completion makedepends = gi-docgen makedepends = gnu-efi-libs @@ -34,12 +35,11 @@ pkgbase = fwupd depends = json-glib depends = libarchive depends = libcbor - depends = libgudev - depends = libgusb depends = libjcat depends = libmbim depends = libmm-glib depends = libqmi + depends = libusb depends = libxmlb depends = passim depends = polkit @@ -51,16 +51,19 @@ pkgbase = fwupd depends = tpm2-tss depends = xz depends = zlib - source = https://github.com/fwupd/fwupd/releases/download/1.9.25/fwupd-1.9.25.tar.xz - source = https://github.com/fwupd/fwupd/releases/download/1.9.25/fwupd-1.9.25.tar.xz.asc + source = https://github.com/fwupd/fwupd/releases/download/2.0.0/fwupd-2.0.0.tar.xz + source = https://github.com/fwupd/fwupd/releases/download/2.0.0/fwupd-2.0.0.tar.xz.asc source = fwupd.sysusers + source = fix-2.0.0-build.patch::https://github.com/fwupd/fwupd/commit/9637c35339111d92add461fc3ad2a032e90abc9c.patch validpgpkeys = 163EB50119225DB3DF8F49EA17ACBA8DFA970E17 - sha512sums = 1c50c444456f12a048d9b476c78fd539b11079e3a8a8eb87c1f6cfc0419c4e80691622e9615a38b5c92aec7ef9174d16dcf63fabbabf223cda34350eb196e220 + sha512sums = 5558bfb53128bb13a8e6802bb663043877b65509fbb37f6abbc23713f9414e888f0fa4be9a4bcef2a971c6a6d819342cbb2044efd7af8c9d7c43b34b3ffd04a3 sha512sums = SKIP sha512sums = 637203080b55eda74a659f58c853a9a723a2dad5da70915b2b0e036c6145a649468ebec700cc83975d9cb5378b9dced8b3a3b26bdbcc75ddc774837355e75deb - b2sums = 783d880f7d092a03e2b54c8f1b34e9de5dde2138409fca958dfa8fe72169d066dc86140055f2af95dc31055dda893542bbbe42c37984d5d3066a77754c960e7b + sha512sums = 2a29ae3e41b5ee871ffa5a183595734ac5ef47c033f59a8d798d0c5dc773eb71e941074c5c4b918dca8329fb9262136e803f9bb2deba2f06349c51ef9aca2e21 + b2sums = 4563abe4d61e929573fcab478e0c94f7568f476f315ea9a9b2c4162776d309cd7985d1fb4a1c1c62d95ee4bfeddab7264ed2a63b543572236ca76323a009d28a b2sums = SKIP b2sums = e65ca7da22a20a40882cfc1fe4479643f9a38c90a4f2c3e71e6e5e3de1d6db212a0f17d600097619fe3cdb0a9b860422f8b0b9a9d45441518e51a7eb12a918bb + b2sums = c03a978e6558d039257219c16e385acd2b6e3c0e1b640f1793e8642a5ebd1ffe22397b48829090ea5dd5740e1e2ff034d9011d1fab4573a43e6ab12ba0e43685 pkgname = fwupd depends = bash @@ -76,12 +79,11 @@ pkgname = fwupd depends = json-glib depends = libarchive depends = libcbor - depends = libgudev - depends = libgusb depends = libjcat depends = libmbim depends = libmm-glib depends = libqmi + depends = libusb depends = libxmlb depends = passim depends = polkit diff --git a/extra/fwupd/PKGBUILD b/extra/fwupd/PKGBUILD index 61b60f1d1..ed6db1ddc 100644 --- a/extra/fwupd/PKGBUILD +++ b/extra/fwupd/PKGBUILD @@ -18,7 +18,7 @@ pkgname=( fwupd fwupd-docs ) -pkgver=1.9.25 +pkgver=2.0.0 pkgrel=1 pkgdesc="Simple daemon to allow session software to update firmware" arch=(x86_64) @@ -37,12 +37,11 @@ depends=( json-glib libarchive libcbor - libgudev - libgusb libjcat libmbim libmm-glib libqmi + libusb libxmlb passim polkit @@ -67,19 +66,30 @@ makedepends=( python-pillow vala ) -checkdepends=(umockdev) +checkdepends=( + umockdev + python-dbusmock +) source=( "https://github.com/fwupd/fwupd/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc} fwupd.sysusers + fix-2.0.0-build.patch::https://github.com/fwupd/fwupd/commit/9637c35339111d92add461fc3ad2a032e90abc9c.patch ) -sha512sums=('1c50c444456f12a048d9b476c78fd539b11079e3a8a8eb87c1f6cfc0419c4e80691622e9615a38b5c92aec7ef9174d16dcf63fabbabf223cda34350eb196e220' +sha512sums=('5558bfb53128bb13a8e6802bb663043877b65509fbb37f6abbc23713f9414e888f0fa4be9a4bcef2a971c6a6d819342cbb2044efd7af8c9d7c43b34b3ffd04a3' 'SKIP' - '637203080b55eda74a659f58c853a9a723a2dad5da70915b2b0e036c6145a649468ebec700cc83975d9cb5378b9dced8b3a3b26bdbcc75ddc774837355e75deb') -b2sums=('783d880f7d092a03e2b54c8f1b34e9de5dde2138409fca958dfa8fe72169d066dc86140055f2af95dc31055dda893542bbbe42c37984d5d3066a77754c960e7b' + '637203080b55eda74a659f58c853a9a723a2dad5da70915b2b0e036c6145a649468ebec700cc83975d9cb5378b9dced8b3a3b26bdbcc75ddc774837355e75deb' + '2a29ae3e41b5ee871ffa5a183595734ac5ef47c033f59a8d798d0c5dc773eb71e941074c5c4b918dca8329fb9262136e803f9bb2deba2f06349c51ef9aca2e21') +b2sums=('4563abe4d61e929573fcab478e0c94f7568f476f315ea9a9b2c4162776d309cd7985d1fb4a1c1c62d95ee4bfeddab7264ed2a63b543572236ca76323a009d28a' 'SKIP' - 'e65ca7da22a20a40882cfc1fe4479643f9a38c90a4f2c3e71e6e5e3de1d6db212a0f17d600097619fe3cdb0a9b860422f8b0b9a9d45441518e51a7eb12a918bb') + 'e65ca7da22a20a40882cfc1fe4479643f9a38c90a4f2c3e71e6e5e3de1d6db212a0f17d600097619fe3cdb0a9b860422f8b0b9a9d45441518e51a7eb12a918bb' + 'c03a978e6558d039257219c16e385acd2b6e3c0e1b640f1793e8642a5ebd1ffe22397b48829090ea5dd5740e1e2ff034d9011d1fab4573a43e6ab12ba0e43685') validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 < ../fix-2.0.0-build.patch +} + build() { local meson_options=( -D docs=enabled