fwupd: update to 1.9.8.

This commit is contained in:
dataCobra 2023-11-16 10:25:58 +01:00 committed by Andrew J. Hesford
parent ee6769d1ba
commit 9360c9aee6

View file

@ -1,9 +1,9 @@
# Template file for 'fwupd'
pkgname=fwupd
version=1.9.5
version=1.9.8
revision=1
build_style=meson
build_helper="gir"
build_helper="gir qemu"
configure_args="-Dsupported_build=enabled -Dconsolekit=disabled
-Dsystemd=disabled -Delogind=enabled -Dintrospection=enabled
-Defi_binary=false"
@ -24,34 +24,27 @@ maintainer="dataCobra <datacobra@thinkbot.de>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fwupd/fwupd"
distfiles="https://github.com/fwupd/fwupd/archive/${version}.tar.gz"
checksum=efc15b39e1802aab5f306a8ff584fc158811e30e8f4a4a2b3302bc20ca0bc47a
checksum=3fcab975d6acf48807f386aa62882db14889463269f6139aefd5f56dfa71d382
replaces="fwupdate>=0"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*)
_have_uefi=yes
_plugin_msr=yes
_plugin_dell=yes
;;
arm*|aarch64*)
_have_uefi=yes;;
esac
if [ -z "$_plugin_msr" ]; then
configure_args+=" -Dplugin_msr=false"
fi
if [ "$_plugin_dell" ]; then
makedepends+=" libsmbios-devel"
else
configure_args+=" -Dplugin_dell=false"
configure_args+=" -Dplugin_msr=disabled"
fi
if [ -n "$_have_uefi" ]; then
makedepends+=" libefivar-devel fwupd-efi"
depends+=" fwupd-efi"
else
configure_args+=" -Dplugin_redfish=false -Dplugin_uefi_capsule=false -Dplugin_uefi_pk=false"
configure_args+=" -Dplugin_redfish=disabled -Dplugin_uefi_capsule=disabled -Dplugin_uefi_pk=disabled"
fi
pre_build() {