diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-09-09 23:19:22 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-11 15:14:41 -0300 |
commit | 3d59341e662acfc945669bec947347a2358ba60c (patch) | |
tree | 1cb5c55a62f93fb4b54035b88d8b408cf607491e /community/fwupd/APKBUILD | |
parent | 918f3ec5e35f8ec13ee925d2e938ff01049b473c (diff) | |
download | aports-3d59341e662acfc945669bec947347a2358ba60c.tar.bz2 aports-3d59341e662acfc945669bec947347a2358ba60c.tar.xz |
community/fwupd: move from testing
Diffstat (limited to 'community/fwupd/APKBUILD')
-rw-r--r-- | community/fwupd/APKBUILD | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/community/fwupd/APKBUILD b/community/fwupd/APKBUILD new file mode 100644 index 0000000000..21cac1dbee --- /dev/null +++ b/community/fwupd/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=fwupd +pkgver=1.2.9 +pkgrel=0 +pkgdesc="Firmware update daemon" +url="https://fwupd.org/" +arch="x86_64 x86" +license="LGPL-2.1-or-later" +depends="dbus" +makedepends="meson help2man linux-headers gnutls-utils + python py3-pillow py3-gobject3 py3-cairo ttf-opensans + glib-dev libgudev-dev libgusb-dev libgcab-dev json-glib-dev + gobject-introspection-dev vala cairo-dev fontconfig-dev freetype-dev + polkit-dev libxmlb-dev libarchive-dev libsoup-dev gpgme-dev eudev-dev gnutls-dev + efivar-dev elfutils-dev gnu-efi-dev libsmbios-dev + " +checkdepends="bubblewrap" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc" +source="fwupd-$pkgver.tar.gz::https://github.com/hughsie/fwupd/archive/$pkgver.tar.gz + $pkgname.initd + fix-no-systemd.patch + fixes.patch + " +builddir="$srcdir/fwupd-$pkgver" + +build() { + meson \ + --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Ddaemon=true \ + -Dagent=true \ + -Dconsolekit=true \ + -Dfirmware-packager=true \ + -Dgpg=true \ + -Dgtkdoc=false \ + -Dlvfs=true \ + -Dman=true \ + -Dpkcs7=true \ + -Dplugin_altos=false \ + -Dplugin_amt=true \ + -Dplugin_dell=true \ + -Dplugin_dummy=false \ + -Dplugin_synaptics=true \ + -Dplugin_thunderbolt=true \ + -Dplugin_redfish=false \ + -Dplugin_uefi=true \ + -Dplugin_nvme=true \ + -Dplugin_modem_manager=false \ + -Dsystemd=false \ + -Delogind=false \ + -Dtests=true \ + -Dudevdir=/lib/udev \ + . output + ninja -C output +} + +check() { + # tests fail if usb is not available + [ -e /dev/bus/usb ] || return 0 + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install + install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname +} + +sha512sums="942c6bad822dc65846d1984850798bec677b6a312100c6f5971fc9d5906c182267182ef29e0834bbd2b83fe72b11c3b6e50855d90388d2bf85e8a3b95d0a5a68 fwupd-1.2.9.tar.gz +ad569d342cf14290d4924582af92c7d634139cf04eb1d981b4a4573ed56a8f9115914adefa925c8486e1126dd4fbed36a786aad4afd07de14dd6cbdf7982b766 fwupd.initd +2f362ff98982b2038e2abfcfd698f26a06d1aff5ec1c8a4299e6dc23b85a3ef7036be62de45365772ba65578597a255309fa666f2c813f5f52ca0eab378c4135 fix-no-systemd.patch +0298319cb5249326ef2576612165a1c4775128fcbd58a19367385816873b56d59cfdcc2d0ef8c95e92fc7a454974aede361de43f132c024272cb5fce7b6dbbcb fixes.patch" |