pinentry: enable libsecret support
This makes it possible to save passwords
This commit is contained in:
parent
c9e219e9be
commit
f149be13c4
1 changed files with 9 additions and 4 deletions
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'pinentry'
|
||||
pkgname=pinentry
|
||||
version=1.1.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk
|
||||
--enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2
|
||||
--enable-pinentry-emacs --enable-pinentry-qt --enable-pinentry-tty
|
||||
--enable-pinentry-gnome3"
|
||||
--enable-pinentry-gnome3 $(vopt_enable libsecret)"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="ncurses-devel gcr-devel gtk+-devel libassuan-devel libgpg-error-devel qt5-devel"
|
||||
makedepends="ncurses-devel gcr-devel gtk+-devel libassuan-devel libgpg-error-devel
|
||||
qt5-devel $(vopt_if libsecret 'libsecret-devel')"
|
||||
short_desc="PIN or passphrase entry dialogs for GnuPG"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
|
@ -18,6 +19,10 @@ checksum=68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570
|
|||
|
||||
alternatives="pinentry:pinentry:/usr/bin/pinentry-curses"
|
||||
|
||||
build_options="libsecret"
|
||||
desc_option_libsecret="Enable support for saving passwords via libsecret"
|
||||
build_options_default="libsecret"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-host-tools"
|
||||
fi
|
||||
|
@ -67,7 +72,7 @@ pinentry-emacs_package() {
|
|||
}
|
||||
|
||||
pinentry-gnome_package() {
|
||||
depends="libgnome-keyring ${sourcepkg}>=${version}_${revision}"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" for the GNOME desktop"
|
||||
alternatives="pinentry:pinentry:/usr/bin/pinentry-gnome3"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue