mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
61 lines
1.4 KiB
Text
61 lines
1.4 KiB
Text
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=libsoup3
|
|
pkgver=3.2.2
|
|
pkgrel=1
|
|
pkgdesc="Gnome HTTP client/server Library"
|
|
url="https://wiki.gnome.org/Projects/libsoup"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
subpackages="$pkgname-dev $pkgname-lang $pkgname-dbg"
|
|
depends="glib-networking gsettings-desktop-schemas"
|
|
makedepends="
|
|
brotli>=1.0.9-r1
|
|
gobject-introspection-dev
|
|
libgcrypt-dev
|
|
libgpg-error-dev
|
|
libpsl-dev
|
|
libxml2-dev
|
|
meson
|
|
nghttp2-dev
|
|
sqlite-dev
|
|
vala
|
|
zlib-dev
|
|
"
|
|
checkdepends="gnutls-dev"
|
|
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"
|
|
builddir="$srcdir/libsoup-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
x86*)
|
|
;;
|
|
*)
|
|
# arm*: sigill for some reason
|
|
# rest: sigabrt, http1 != http2 on localhost req
|
|
options="$options !check"
|
|
;;
|
|
esac
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dtls_check=false \
|
|
-Dintrospection=enabled \
|
|
-Dvapi=enabled \
|
|
-Dtests="$(want_check && echo true || echo false)" \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test -t 10 --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
1f2b49244f8bac4d112b39ac9c6a942acbc1ae1cff33262ed02e7682af3994cf6ba6741b365b3c80c45c6427d391599fa6f31df6caa4ffefe7d078ac373bad1b libsoup-3.2.2.tar.xz
|
|
"
|