2023-08-11 18:22:48 +02:00
|
|
|
# Description: Library for storing and retrieving passwords and other secrets
|
2018-04-02 16:40:10 +10: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 16:40:10 +10:00
|
|
|
|
|
|
|
name=libsecret
|
2024-02-23 17:18:16 +01:00
|
|
|
version=0.21.4
|
2018-04-02 16:40:10 +10:00
|
|
|
release=1
|
2024-02-08 18:26:07 +01:00
|
|
|
source=(https://gitlab.gnome.org/GNOME/libsecret/-/archive/$version/libsecret-$version.tar.bz2)
|
2018-04-02 16:40:10 +10:00
|
|
|
|
|
|
|
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 16:40:10 +10: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 16:40:10 +10:00
|
|
|
|
2023-08-11 18:22:48 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
2018-04-02 16:40:10 +10:00
|
|
|
}
|