# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: pkgname=glib-networking pkgver=2.76.1 pkgrel=1 pkgdesc="Networking support for GLib" url="https://gitlab.gnome.org/GNOME/glib-networking" arch="all" license="LGPL-2.0-or-later" depends="ca-certificates gsettings-desktop-schemas" makedepends=" bash glib-dev gnutls-dev gsettings-desktop-schemas-dev libgcrypt-dev libproxy-dev meson p11-kit-dev " subpackages="$pkgname-dbg $pkgname-lang" source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz" options="!check" # new p11-kit makes a few of these fail, run them next release # secfixes: # 2.64.3-r0: # - CVE-2020-13645 build() { abuild-meson \ -Db_lto=true \ -Dopenssl=disabled \ -Dgnutls=enabled \ . build meson compile -C build } check() { meson test --no-rebuild --print-errorlogs -C build } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C build rm -rf "$pkgdir"/usr/lib/systemd } sha512sums=" 9da7844dc767c8dc33953bf984aa9fcc12ac6f9945b55b9c0ec34ecf13592deefead37dc27b048f564dc423286224c041b9842034e197d90f93822128fab4f97 glib-networking-2.76.1.tar.xz "