aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-firmware/APKBUILD
blob: 27050c1133ef3fffa80b82c1d22b07ba18f1142c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Pablo Correa Gómez <pcg@pcorreag.tk>
pkgname=gnome-firmware
pkgver=46.0
pkgrel=0
pkgdesc="Install firmware on devices"
url="https://gitlab.gnome.org/World/gnome-firmware"
arch="all !armhf !ppc64le !s390x !riscv64" # limited by fwupd
license="GPL-2.0-only"
makedepends="
	elogind-dev
	fwupd-dev
	gtk4.0-dev
	help2man
	libadwaita-dev
	libxmlb-dev
	meson
	"
options="!check" # no tests
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/World/gnome-firmware/-/archive/$pkgver/gnome-firmware-$pkgver.tar.gz"
provides="gnome-firmware-updater=$pkgver-r$pkgrel"
replaces="gnome-firmware-updater"

build() {
	abuild-meson \
		-Db_lto=true \
		-Dsystemd=false \
		-Delogind=true \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
9d9285c3abb5e1e5c7877d4eefb0845534251bf253fcaafadf855cd00a9c93945693668b41fb4e9b9caa7caa057f65de873c9e85e393e28cf4c921f261831c72  gnome-firmware-46.0.tar.gz
"