42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Template file for 'gcr4'
|
|
pkgname=gcr4
|
|
version=4.3.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="$(vopt_bool gir introspection) $(vopt_bool gir gtk_doc)"
|
|
hostmakedepends="gettext glib-devel gnupg gi-docgen gettext pkg-config openssh
|
|
libxslt $(vopt_if gir vala)"
|
|
makedepends="libgcrypt-devel libsecret-devel p11-kit-devel libxslt-devel gtk4-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/master/NEWS"
|
|
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
|
|
checksum=c3ee8728e4364b0397f435fa20f92f901ab139d2b264f4e059d67b3c0f43cd36
|
|
make_check_pre="dbus-run-session"
|
|
# secure memory tests fail
|
|
make_check=no
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gcr4-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${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
|
|
}
|
|
}
|