fwupd: enable for ppc64 targets

[ci skip]
This commit is contained in:
q66 2019-01-17 01:12:13 +01:00 committed by maxice8
parent caf57e3f63
commit 8fb5068aa6
1 changed files with 14 additions and 5 deletions

View File

@ -5,15 +5,14 @@ revision=1
build_style=meson
# manpages fail to build
# tests require unpackaged umockdev
configure_args="-Dbootdir=/boot/EFI -Dconsolekit=false -Dgtkdoc=false
-Dintrospection=true -Dsystemd=false -Dplugin_altos=false -Dtests=false
-Dman=false -Dpkcs7=false -Db_lto=false"
configure_args="-Dconsolekit=false -Dgtkdoc=false -Dintrospection=true
-Dsystemd=false -Dplugin_altos=false -Dtests=false -Dman=false
-Dpkcs7=false -Db_lto=false"
hostmakedepends="dejavu-fonts-ttf gnutls-tools help2man pkg-config gcab
gobject-introspection python3-Pillow"
makedepends="libxmlb-devel cairo-devel colord-devel libarchive-devel
gnutls-devel gpgme-devel json-glib-devel libgusb-devel polkit-devel
python3-gobject libefivar-devel gnu-efi-libs sqlite-devel libsoup-devel
gcab-devel pango-devel"
python3-gobject sqlite-devel libsoup-devel gcab-devel pango-devel"
short_desc="Daemon to allow session software to update firmware"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
@ -29,6 +28,16 @@ case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" -Dplugin_dell=false" ;;
esac
case "$XBPS_TARGET_MACHINE" in
ppc64*)
configure_args+=" -Dplugin_uefi=false"
configure_args+=" -Dplugin_redfish=false"
configure_args+=" -Dplugin_nvme=false"
configure_args+=" -Dplugin_dell=false"
;;
*) makedepends+= " gnu-efi-libs libefivar-devel" ;;
esac
fwupd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglib-devel"
short_desc+=" - development files"