2023-08-11 18:22:48 +02:00
|
|
|
# Description: Library for storing and retrieving passwords and other secrets
|
2018-04-02 08:40:10 +02:00
|
|
|
# URL: https://wiki.gnome.org/Projects/Libsecret
|
2023-08-11 18:22:48 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: gobject-introspection libgcrypt
|
|
|
|
# Optional: bash-completion docbook-xsl vala
|
2018-04-02 08:40:10 +02:00
|
|
|
|
|
|
|
name=libsecret
|
2023-08-11 18:22:48 +02:00
|
|
|
version=0.21.0
|
2018-04-02 08:40:10 +02:00
|
|
|
release=1
|
|
|
|
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2023-08-11 18:22:48 +02:00
|
|
|
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'
|
2018-04-02 08:40:10 +02:00
|
|
|
|
2023-08-11 18:22:48 +02:00
|
|
|
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
|
2018-04-02 08:40:10 +02:00
|
|
|
|
2023-08-11 18:22:48 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
2018-04-02 08:40:10 +02:00
|
|
|
}
|