# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=libsoup pkgver=2.66.2 pkgrel=1 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-doc $pkgname-lang" depends="glib-networking gsettings-desktop-schemas" makedepends="libgcrypt-dev libgpg-error-dev zlib-dev meson gtk-doc gobject-introspection-dev vala libxml2-dev libpsl-dev sqlite-dev" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" # secfixes: # 2.58.2-r0: # - CVE-2017-2885 build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ -Dtls_check=false \ -Dgssapi=false \ -Ddoc=true \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="1df443470239f23d22301e37e36f3d34963352ee0122f317cd15b19d90115831091bddcee27bc6f0d4994adcf4e5bd9c0395de2bd7f39ae305ba0edea7789092 libsoup-2.66.2.tar.xz"