46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
# Template file for 'gcr'
|
|
pkgname=gcr
|
|
version=3.41.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir gtk_doc)
|
|
-Dssh_agent=false"
|
|
hostmakedepends="gettext glib-devel gnupg gi-docgen gettext pkg-config openssh
|
|
libxslt $(vopt_if gir vala)"
|
|
makedepends="gtk+3-devel libgcrypt-devel libsecret-devel p11-kit-devel libxslt-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme gnupg"
|
|
checkdepends="dbus"
|
|
short_desc="GNOME crypto package"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later, GPL-2.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/gcr"
|
|
changelog="https://gitlab.gnome.org/GNOME/gcr/-/raw/gcr-3-41/NEWS"
|
|
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
|
|
checksum=bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7
|
|
make_check_pre="dbus-run-session"
|
|
make_check=no # Gcr:ERROR:../gcr/test-gnupg-collection.c:203:test_load: assertion failed: (record)
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
|
|
}
|
|
|
|
gcr-devel_package() {
|
|
depends="${makedepends} gcr>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/doc
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|