diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 06:27:23 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 06:27:23 -0800 |
commit | 1bf8f89efb2829a746c2d991866a2c64bac4a87b (patch) | |
tree | 87c882d0d77c35e63d0f2fb3433619068b56e944 | |
parent | 89d942c6537697a0338216eed420bd923ee6b9e3 (diff) | |
download | packages-pantheon.tar.gz packages-pantheon.tar.bz2 packages-pantheon.tar.xz packages-pantheon.zip |
user/fwupd: new packagepantheon
-rw-r--r-- | user/fwupd/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/user/fwupd/APKBUILD b/user/fwupd/APKBUILD new file mode 100644 index 000000000..6e9ed0692 --- /dev/null +++ b/user/fwupd/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=fwupd +pkgver=1.9.9 +pkgrel=0 +pkgdesc="Onboard firmware update service for Linux" +url="https://fwupd.org" +arch="pmmx x86_64 aarch64" +license="LGPL-2.1+ AND GPL-2.0+" +depends="" +makedepends="cmake meson ninja efivar-dev elogind-dev eudev-dev fwupd-efi-dev + gcab-dev gi-docgen glib-dev gnu-efi gobject-introspection-dev help2man + libarchive-dev libelf-dev libgudev-dev libgusb-dev libjcat-dev + libsoup-dev libxmlb-dev modemmanager-dev polkit-dev protobuf-c-dev + py3-markdown py3-pillow py3-pygobject sqlite-dev ttf-liberation + tpm2-tss-dev vala-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="fwupd-$pkgver.tar.gz::https://github.com/fwupd/fwupd/archive/$pkgver.tar.gz + " + +case "$CARCH" in + pmmx|x86_64) makedepends="$makedepends flashrom-dev libsmbios-dev mingw-w64-tools";; +esac + +build() { + PATH="/usr/gnu/bin:$PATH" meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dsystemd=disabled \ + -Delogind=enabled \ + . output + PATH="/usr/gnu/bin:$PATH" meson compile -j1 -C output +} + +check() { + PATH="/usr/gnu/bin:$PATH" meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="9cab065f8606514376187856ba170c71363c8c9c1a72510e159b56d1c33b8e66b94da8603516113dad52034f1d4dc6945663365192fb408d41900932fca7132b fwupd-1.9.9.tar.gz" |