# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=libsoup pkgver=2.68.3 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.68.2-r0: # - CVE-2019-17266 # 2.58.2-r0: # - CVE-2017-2885 build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ -Dtls_check=false \ -Dintrospection=enabled \ -Dvapi=enabled \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="4ab7777e8e910a5741628d10a9e22215b7811c03034dc3ccd1fa34bcfa2a643f27e7c005ab048f2931d58af4b161eee71e1f433cb55a74628da5b08ef8b693fd libsoup-2.68.3.tar.xz"