2018-02-12 21:10:05 +01:00
|
|
|
# Template file for 'fwupd'
|
|
|
|
pkgname=fwupd
|
2018-08-13 19:42:22 +02:00
|
|
|
version=1.1.1
|
2018-07-12 10:05:17 +02:00
|
|
|
revision=1
|
2018-02-12 21:10:05 +01:00
|
|
|
build_style=meson
|
|
|
|
# manpages fail to build
|
|
|
|
# tests require unpackaged umockdev
|
2018-05-01 13:48:41 +02:00
|
|
|
configure_args="-Dbootdir=/boot/EFI -Dconsolekit=false -Dgtkdoc=false
|
2018-08-13 19:42:22 +02:00
|
|
|
-Dintrospection=true -Dsystemd=false -Dplugin_altos=false -Dtests=false
|
2018-05-01 13:48:41 +02:00
|
|
|
-Dman=false -Dpkcs7=false"
|
2018-08-13 19:42:22 +02:00
|
|
|
hostmakedepends="dejavu-fonts-ttf gnutls-tools help2man pkg-config gcab
|
|
|
|
gobject-introspection"
|
2018-07-12 10:05:17 +02:00
|
|
|
makedepends="appstream-glib-devel cairo-devel colord-devel
|
2018-05-01 13:48:41 +02:00
|
|
|
gnutls-devel gpgme-devel json-glib-devel libgusb-devel polkit-devel
|
2018-07-12 10:05:17 +02:00
|
|
|
python3-Pillow python3-gobject libefivar-devel gnu-efi-libs"
|
2018-06-15 17:36:38 +02:00
|
|
|
short_desc="Daemon to allow session software to update firmware"
|
2018-02-12 21:10:05 +01:00
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
2018-06-15 17:36:38 +02:00
|
|
|
license="LGPL-2.1-or-later"
|
2018-02-12 21:10:05 +01:00
|
|
|
homepage="https://github.com/hughsie/fwupd"
|
|
|
|
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
|
2018-08-13 19:42:22 +02:00
|
|
|
checksum=6959299eebf1e0fc747174b34e12159e6da42c92d556f1485d3e70aa391c1eba
|
|
|
|
nocross="depends on python3-gobject whether or not introspection is enabled"
|
2018-05-01 13:48:41 +02:00
|
|
|
conf_files="/etc/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
|
|
/etc/fwupd/daemon.conf /etc/fwupd/remotes.d/*.conf"
|
2018-02-12 21:10:05 +01:00
|
|
|
|
|
|
|
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"
|
2018-08-13 19:42:22 +02:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove usr/lib/girepository-1.0
|
2018-02-12 21:10:05 +01:00
|
|
|
}
|
|
|
|
}
|