Skip to content

Commit

Permalink
fwupd: update to 1.5.0, add more conf files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericonr committed Oct 30, 2020
1 parent 60ba836 commit 1d5b6e5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions srcpkgs/fwupd/template
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Template file for 'fwupd'
pkgname=fwupd
version=1.4.6
revision=2
version=1.5.0
revision=1
build_style=meson
build_helper="gir"
# tests require unpackaged umockdev
configure_args="-Dconsolekit=false -Dgtkdoc=true -Dintrospection=true
-Dsystemd=false -Dplugin_altos=false -Dtests=false
-Dpkcs7=false -Db_lto=false -Defi-includedir=${XBPS_CROSS_BASE}/usr/include/efi
-Defi-ldsdir=${XBPS_CROSS_BASE}/usr/lib -Defi-ld=${XBPS_CROSS_BASE}/usr/bin/ld
-Defi-objcopy=${XBPS_CROSS_BASE}/usr/bin/objcopy
-Defi-libdir=${XBPS_CROSS_BASE}/usr/lib -Delogind=true
$(vopt_bool uefi plugin_uefi) $(vopt_bool uefi plugin_redfish)
$(vopt_bool dell plugin_dell)"
Expand All @@ -21,14 +22,14 @@ makedepends="libxmlb-devel cairo-devel colord-devel libarchive-devel
$(vopt_if uefi 'libefivar-devel gnu-efi-libs') $(vopt_if dell libsmbios-devel)"
depends="udisks2"
conf_files="
/etc/fwupd/daemon.conf
/etc/fwupd/*.conf
/etc/fwupd/remotes.d/*.conf"
short_desc="Daemon to allow session software to update firmware"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/hughsie/fwupd"
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
checksum=2e70a4221e6ca09dae768af25f19fddcdbdafb9f7d7984d19e8686846fa4420a
checksum=5c263d417e40a662dc1c8e7c64132c7c93563f999e48a540d42eb94fdb4dd68a
replaces="fwupdate>=0"

build_options="uefi dell"
Expand Down Expand Up @@ -58,8 +59,6 @@ fi
pre_configure() {
# Replace the values from our patch into the system itself
vsed -i -e "s|@XBPS_CROSS_BASE@|${XBPS_CROSS_BASE}|g" meson.build
# Replace host objcopy with the cross one
vsed -i -e "s|command -v objcopy|command -v ${XBPS_CROSS_BASE}/usr/bin/objcopy|" plugins/uefi/efi/generate_binary.sh
}

post_install() {
Expand Down

0 comments on commit 1d5b6e5

Please sign in to comment.