30 lines
934 B
Plaintext
30 lines
934 B
Plaintext
# Description: Library for storing and retrieving passwords and other secrets
|
|
# URL: https://wiki.gnome.org/Projects/Libsecret
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gobject-introspection libgcrypt
|
|
# Optional: bash-completion docbook-xsl vala
|
|
|
|
name=libsecret
|
|
version=0.21.4
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/libsecret/-/archive/$version/libsecret-$version.tar.bz2)
|
|
|
|
build() {
|
|
prt-get isinst bash-completion || \
|
|
PKGMK_LIBSECRET+=' -D bash_completion=disabled'
|
|
prt-get isinst docbook-xsl || PKGMK_LIBSECRET+=' -D manpage=false'
|
|
prt-get isinst vala || PKGMK_LIBSECRET+=' -D vapi=false'
|
|
|
|
meson setup build $name-$version $PKGMK_LIBSECRET \
|
|
--prefix=/usr \
|
|
--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
|
|
}
|