APKBUILD 1.16 KB
Newer Older
1
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
2
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
3
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
4
pkgname=glib-networking
5
pkgver=2.70.0
6
pkgrel=1
7
pkgdesc="Networking support for GLib"
8
url="https://gitlab.gnome.org/GNOME/glib-networking"
9
arch="all"
10
license="LGPL-2.0-or-later"
11
depends="ca-certificates gsettings-desktop-schemas"
12
makedepends="glib-dev openssl-dev libproxy-dev intltool bash
13
	p11-kit-dev meson gsettings-desktop-schemas-dev"
14
subpackages="$pkgname-lang"
15
source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz"
16

17
18
19
20
# secfixes:
#   2.64.3-r0:
#     - CVE-2020-13645

21
case "$CARCH" in
22
23
	s390x|mips64) options="!check" # timeout
	;;
24
25
esac

26
build() {
27
	abuild-meson . build -Dgnutls=disabled -Dopenssl=enabled
28
	meson compile ${JOBS:+-j ${JOBS}} -C build
29
30
31
}

check() {
32
	meson test --no-rebuild -v -C build
33
34
35
}

package() {
36
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
37
	rm -rf "$pkgdir"/usr/lib/systemd
38
39
}

40
41
42
sha512sums="
c9f8126e3466470ad8e1d588d56b843a4fa4738619a795e6772d95282c54a8356a916a3b0a0b6994606d8a6841ecb0637230f14575ed95ea68bff8f3f81aea71  glib-networking-2.70.0.tar.xz
"