1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="HTTP client/server library for GNOME"
8 url="https://wiki.gnome.org/Projects/libsoup"
11 depends=(glib2 glib-networking sqlite krb5 libpsl brotli libnghttp2)
12 makedepends=(gobject-introspection python vala git gtk-doc meson samba
14 checkdepends=(apache php-apache)
15 optdepends=('samba: Windows Domain SSO')
16 _commit=fbf69d004d1ef75bd93a10819378030b4c479bb9 # tags/3.0.3^0
17 source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson libsoup build \
32 -D autobahn=disabled \
34 meson compile -C build
38 meson test -C build --print-errorlogs
42 depends+=(libg{lib,object,io}-2.0.so libgssapi_krb5.so libpsl.so
44 provides+=(libsoup-3.0.so)
46 meson install -C build --destdir "$pkgdir"