summaryrefslogtreecommitdiff
path: root/community/network-manager-applet/APKBUILD
blob: 23d1789ab9abdb74199aac9fbc600ca1bc8e1219 (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
41
42
43
44
45
46
47
48
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=network-manager-applet
pkgver=1.28.0
pkgrel=0
pkgdesc="GTK network manager applet"
url="https://wiki.gnome.org/Projects/NetworkManager"
# s390x and riscv64 blocked by networkmanager and polkit
arch="all !s390x !riscv64"
license="GPL-2.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="
	gcr-dev
	gtk+3.0-dev
	intltool
	jansson-dev
	libappindicator-dev
	libdbusmenu-gtk3-dev
	libgudev-dev
	libnma-dev
	libnotify-dev
	libsecret-dev
	meson
	modemmanager-dev
	networkmanager-dev
	polkit-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/network-manager-applet/${pkgver%.*}/network-manager-applet-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dselinux=false \
		. output
	meson compile -C output
}

check() {
	meson test --print-errorlogs --no-rebuild -C output
}

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

sha512sums="
1e594c6a8ecfd7c92e718238f036f95c0706a70699b9836ba4ca3b6b033db1b36a08ef4778e6615cfd0cfcaec120063a67c642734c45d71aee86b17a5de4b647  network-manager-applet-1.28.0.tar.xz
"