void-packages/srcpkgs/fwupd-efi/template

23 lines
841 B
Bash

# Template file for 'fwupd-efi'
pkgname=fwupd-efi
version=1.3
revision=1
archs="x86_64* i686* arm* aarch64*"
build_style=meson
build_helper="gir"
configure_args="-Defi-includedir=${XBPS_CROSS_BASE}/usr/include/efi
-Defi-ldsdir=${XBPS_CROSS_BASE}/usr/lib -Defi-ld=${XBPS_CROSS_BASE}/bin/ld
-Defi-libdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="efivar"
makedepends="libefivar-devel gnu-efi-libs"
short_desc="EFI Application used by uefi-capsule plugin in fwupd"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fwupd/fwupd-efi"
distfiles="https://github.com/fwupd/fwupd-efi/archive/refs/tags/${version}.tar.gz"
checksum=0e76057c178e221f63eaf9142fa1d06780a8eb3df7cf0c11f92660138dec5c83
if [ "$CROSS_BUILD" ]; then
configure_args+=" -Defi-cc=/usr/bin/${XBPS_CROSS_TRIPLET}-gcc"
fi