forked from ports/contrib
31 lines
853 B
Plaintext
31 lines
853 B
Plaintext
# Description: A library for bits of crypto UI and parsing
|
|
# URL: https://gitlab.gnome.org/GNOME/gcr
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gnupg gtk3 libsecret p11-kit vala xorg-libxcomposite xorg-libxcursor xorg-libxinerama
|
|
|
|
name=gcr3
|
|
version=3.41.1
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/gcr/-/archive/$version/gcr-$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup build gcr-$version \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib/gcr3 \
|
|
--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-gcr3.conf" <<END
|
|
@users - memlock 1024
|
|
END
|
|
}
|