# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=gcr3 pkgver=3.41.1 pkgrel=0 pkgdesc="Gnome cryptography user interface library" url="https://gnome.pages.gitlab.gnome.org/gcr/gcr-3/" arch="all" options="!check" # https://gitlab.gnome.org/GNOME/gcr/-/issues/114 license="LGPL-2.1+ AND LGPL-2.0+ AND LGPL-2.1-only AND GPL-2.0+ AND (GPL-2.0+ OR LGPL-2.1+ OR MPL-1.1) AND (LGPL-2.0+ OR LGPL-2.1+)" depends="" checkdepends="dbus-x11" makedepends="meson ninja gi-docgen glib-dev gnupg gobject-introspection-dev gtk+3.0-dev libgcrypt-dev libsecret-dev p11-kit-dev vala-dev openssh-client" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gcr/${pkgver%.*}/gcr-$pkgver.tar.xz" builddir="$srcdir"/gcr-$pkgver build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { dbus-run-session meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325 gcr-3.41.1.tar.xz"