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
13 makedepends=(gobject-introspection python vala git gtk-doc meson samba
15 checkdepends=(apache php-apache)
16 optdepends=('samba: Windows Domain SSO')
18 _commit=40cabaef1bd71475fcf34a618ad5937cefb76513 # tags/3.0.7^0
19 source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit")
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson libsoup build \
35 meson compile -C build
39 meson test -C build --print-errorlogs
43 depends+=(libg{lib,object,io}-2.0.so libgssapi_krb5.so libpsl.so
45 provides+=(libsoup-3.0.so)
47 meson install -C build --destdir "$pkgdir"