37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# Template file for 'fwupd'
|
|
pkgname=fwupd
|
|
version=1.1.0
|
|
revision=1
|
|
build_style=meson
|
|
# manpages fail to build
|
|
# tests require unpackaged umockdev
|
|
configure_args="-Dbootdir=/boot/EFI -Dconsolekit=false -Dgtkdoc=false
|
|
-Dintrospection=false -Dsystemd=false -Dplugin_altos=false -Dtests=false
|
|
-Dman=false -Dpkcs7=false"
|
|
hostmakedepends="dejavu-fonts-ttf gnutls-tools help2man pkg-config gcab"
|
|
makedepends="appstream-glib-devel cairo-devel colord-devel
|
|
gnutls-devel gpgme-devel json-glib-devel libgusb-devel polkit-devel
|
|
python3-Pillow python3-gobject libefivar-devel gnu-efi-libs"
|
|
short_desc="Daemon to allow session software to update firmware"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/hughsie/fwupd"
|
|
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
|
|
checksum=fc5b4453edc47e880d7800e2149e777a10f77deae0ec87d4ab07b5f0e3504db2
|
|
conf_files="/etc/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
/etc/fwupd/daemon.conf /etc/fwupd/remotes.d/*.conf"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64|i686) makedepends+=" libsmbios-devel" ;;
|
|
*-musl) configure_args+=" -Dplugin_dell=false" ;;
|
|
esac
|
|
|
|
fwupd-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libglib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|