summaryrefslogtreecommitdiff
path: root/user/libsoup/APKBUILD
blob: 37262a2ef852e9a3a61d16de2d11d8c2ad892020 (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libsoup
pkgver=2.68.1
pkgrel=0
pkgdesc="GObject-based HTTP library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
options="!check"  # HSTS tests fail because .localdomain names fail to resolve.
license="LGPL-2.0+ AND LGPL-2.1+"
makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev
	gobject-introspection-dev glib-networking meson ninja krb5-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="e670de61c7a20994cafcddf8eb33d5210d6b623955c66ca21fc13c13d0596e72d0f487e6cc29cde73edcff6307dedd33063013a49643081830876209a336c46b  libsoup-2.68.1.tar.xz"