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"
34 _commit=4a6b9178ded85e269872ffedfb2b18f2754a75d9 # tags/2.74.3^0
35 source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit"
36 disable-flaky-test.diff)
38 '4d71171b26ed107884a22696f9df1609c45c377e27baaaeb4ec5d890f9fbd62f09607ba3da0acdb42b4f86b9e828014471e6731437ec80de3b6ad98d7f0a2f60')
42 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
48 # https://gitlab.gnome.org/GNOME/libsoup/-/issues/120
49 git apply -3 ../disable-flaky-test.diff
56 arch-meson libsoup build "${meson_options[@]}"
57 meson compile -C build
61 meson test -C build --print-errorlogs
68 libg{lib,object,io}-2.0.so
71 optdepends=('samba: Windows Domain SSO')
72 provides+=(libsoup{,-gnome}-2.4.so)
74 meson install -C build --destdir "$pkgdir"
76 mkdir -p doc/usr/share
77 mv {"$pkgdir",doc}/usr/share/gtk-doc
80 package_libsoup-docs() {
81 pkgdesc+=" (documentation)"
87 # vim:set sw=2 sts=-1 et: