parent
0330486371
commit
7ffe923d2d
|
@ -0,0 +1 @@
|
|||
fwupd
|
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'fwupd'
|
||||
pkgname=fwupd
|
||||
version=1.0.4
|
||||
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"
|
||||
conf_files="
|
||||
/etc/dbus-1/system.d/org.freedesktop.fwupd.conf
|
||||
/etc/fwupd/daemon.conf
|
||||
/etc/fwupd/remotes.d/fwupd.conf
|
||||
/etc/fwupd/remotes.d/lvfs-testing.conf
|
||||
/etc/fwupd/remotes.d/lvfs.conf
|
||||
/etc/fwupd/remotes.d/vendor.conf"
|
||||
hostmakedepends="pkg-config gnutls-tools help2man dejavu-fonts-ttf"
|
||||
makedepends="libglib-devel polkit-devel libgudev-devel appstream-glib-devel libgusb-devel
|
||||
sqlite-devel json-glib-devel libsoup-devel gnutls-devel gpgme-devel cairo-devel python3-gobject
|
||||
python3-Pillow colord-devel fwupdate-devel"
|
||||
short_desc="A daemon to allow session software to update firmware"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="https://github.com/hughsie/fwupd"
|
||||
distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz"
|
||||
checksum=925a8e37400e6327f0b6ca5861b6d633b97b168a2b86c63d6a5071f7ad5b08b2
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue