aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsoup/APKBUILD
blob: a772cc0ea5be9183d2472b0865c7d9dbd41741ee (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libsoup
pkgver=2.68.1
pkgrel=0
pkgdesc="Gnome HTTP client/server Library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
options="!check" # Wants to bind to ports, which doesn't work in our environment
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-lang"
depends="glib-networking gsettings-desktop-schemas"
makedepends="libgcrypt-dev libgpg-error-dev zlib-dev meson
	gobject-introspection-dev vala libxml2-dev libpsl-dev sqlite-dev"
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"

# secfixes:
#   2.58.2-r0:
#     - CVE-2017-2885

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		-Dtls_check=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="e670de61c7a20994cafcddf8eb33d5210d6b623955c66ca21fc13c13d0596e72d0f487e6cc29cde73edcff6307dedd33063013a49643081830876209a336c46b  libsoup-2.68.1.tar.xz"