mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
While not strictly necessary, the new vala version introduces many fixes in the codegen and also fixes things like memory leaks
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=libsoup
|
|
pkgver=2.72.0
|
|
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-lang $pkgname-dbg"
|
|
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
|
|
brotli>=1.0.9-r1"
|
|
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() {
|
|
abuild-meson \
|
|
-Dtls_check=false \
|
|
-Dintrospection=enabled \
|
|
-Dvapi=enabled \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
sha512sums="ca16772d0d318c4be0c4859db1e32baffa2231b4732f3bf9814aa405febde86395a0fb8bfa1635d70a7b5853d2567403920b9b0d0f5c3c179294352af27e91de libsoup-2.72.0.tar.xz"
|