summaryrefslogtreecommitdiff
path: root/community/gnome-firmware/APKBUILD
blob: b5c80f6e9b52920ac7f13629d25f7aa6b99971ca (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: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-firmware
pkgver=43.2
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="
7935d41293e6658c6c46cd1f9c6e30e7f0bdf3c52cb6b83e1b192595e50ef01375a05e4abef2403458b33764969a7da7465e3703ed9207a8e9b73bb708a43403  gnome-firmware-43.2.tar.gz
"