31 lines
869 B
Plaintext
31 lines
869 B
Plaintext
# Description: Libraries for cryptographic UIs and accessing PKCS#11 modules.
|
|
# URL: https://gitlab.gnome.org/GNOME/gcr
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gnupg gtk4 libsecret p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
|
|
|
|
name=gcr
|
|
version=4.1.0
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version:0:3}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup build $name-$version \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D gtk_doc=false
|
|
|
|
meson compile -C build -j ${JOBS-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=688161
|
|
install -Dm 644 /dev/stdin "$PKG/etc/security/limits.d/10-gcr.conf" <<END
|
|
@users - memlock 1024
|
|
END
|
|
}
|