diff --git a/srcpkgs/fwupd/template b/srcpkgs/fwupd/template index 7c2d4032c18..5533d2284f5 100644 --- a/srcpkgs/fwupd/template +++ b/srcpkgs/fwupd/template @@ -1,19 +1,21 @@ # Template file for 'fwupd' pkgname=fwupd -version=1.8.1 +version=1.8.8 revision=1 build_style=meson build_helper="gir" -configure_args="-Dsupported_build=true -Dconsolekit=false -Dsystemd=false -Delogind=true - -Dintrospection=true -Dtests=false" -# tests require unpackaged umockdev -hostmakedepends="dejavu-fonts-ttf gnutls-tools pkg-config gcab gi-docgen - vala glib-devel polkit gettext pango python3-gobject python3-Pillow protobuf-c-devel" +configure_args="-Dsupported_build=enabled -Dconsolekit=disabled + -Dsystemd=disabled -Delogind=enabled -Dintrospection=enabled + -Defi_binary=false" +hostmakedepends="dejavu-fonts-ttf gnutls-tools pkg-config gcab gi-docgen vala + glib-devel polkit gettext pango python3-gobject python3-Pillow + protobuf-c-devel" makedepends="libxmlb-devel cairo-devel colord-devel libarchive-devel gnutls-devel gpgme-devel json-glib-devel libgusb-devel polkit-devel sqlite-devel gcab-devel pango-devel elogind-devel tpm2-tss-devel libjcat-devel libcurl-devel protobuf-c-devel" depends="dbus udisks2" +checkdepends="umockdev" conf_files=" /etc/fwupd/*.conf /etc/fwupd/remotes.d/*.conf" @@ -22,7 +24,7 @@ maintainer="Érico Nogueira " license="LGPL-2.1-or-later" homepage="https://github.com/fwupd/fwupd" distfiles="https://github.com/fwupd/fwupd/archive/${version}.tar.gz" -checksum=693ac8dd0fa1a7d567242b98f4666c93e8827d16ccd11aea796e01541f6ff877 +checksum=8a8f90680c1598407380ad57c15898bd48a903f2a74f3a97469a8e68b18f1fc1 replaces="fwupdate>=0" case "$XBPS_TARGET_MACHINE" in @@ -59,6 +61,12 @@ pre_build() { fi } +post_install() { + vcompletion data/bash-completion/fwupdagent bash fwupdagent + vcompletion data/bash-completion/fwupdmgr bash fwupdmgr + vcompletion data/bash-completion/fwupdtool bash fwupdtool +} + fwupd-devel_package() { depends="${sourcepkg}>=${version}_${revision} libglib-devel libcurl-devel libjcat-devel libgusb-devel libxmlb-devel libarchive-devel gcab-devel