1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=(libsoup libsoup-docs)
8 pkgdesc="HTTP client/server library for GNOME"
9 url="https://wiki.gnome.org/Projects/libsoup"
35 _commit=4a6b9178ded85e269872ffedfb2b18f2754a75d9 # tags/2.74.3^0
36 source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit"
37 disable-flaky-test.diff)
39 '4d71171b26ed107884a22696f9df1609c45c377e27baaaeb4ec5d890f9fbd62f09607ba3da0acdb42b4f86b9e828014471e6731437ec80de3b6ad98d7f0a2f60')
43 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
49 # https://gitlab.gnome.org/GNOME/libsoup/-/issues/120
50 git apply -3 ../disable-flaky-test.diff
57 arch-meson libsoup build "${meson_options[@]}"
58 meson compile -C build
62 meson test -C build --print-errorlogs
69 libg{lib,object,io}-2.0.so
72 optdepends=('samba: Windows Domain SSO')
73 provides+=(libsoup{,-gnome}-2.4.so)
75 meson install -C build --destdir "$pkgdir"
77 mkdir -p doc/usr/share
78 mv {"$pkgdir",doc}/usr/share/gtk-doc
81 package_libsoup-docs() {
82 pkgdesc+=" (documentation)"
88 # vim:set sw=2 sts=-1 et: