Browse Source

[trunk] -> [testing] 'libsoup3-3.0.0-2' add

master
Dudemanguy 2 months ago
parent
commit
505350d125
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 49
      libsoup3/x86_64/testing/PKGBUILD

49
libsoup3/x86_64/testing/PKGBUILD

@ -0,0 +1,49 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libsoup3
pkgver=3.0.0
pkgrel=2
pkgdesc="HTTP client/server library for GNOME"
url="https://wiki.gnome.org/Projects/libsoup"
arch=(x86_64)
license=(LGPL)
depends=(glib2 glib-networking sqlite krb5 libpsl brotli)
makedepends=(gobject-introspection python vala git gtk-doc meson samba
python-quart)
checkdepends=(apache php-apache)
optdepends=('samba: Windows Domain SSO')
_commit=63f778a9f0df634b627b7683e737b89cb73f943d # tags/3.0.0^0
source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd libsoup
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd libsoup
}
build() {
artix-meson libsoup build \
-D gtk_doc=true \
-D autobahn=disabled \
-D sysprof=disabled
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
depends+=(libg{lib,object,io}-2.0.so libgssapi_krb5.so libpsl.so
libbrotlidec.so)
provides+=(libsoup-3.0.so)
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 et:
Loading…
Cancel
Save