1 menuconfig BR2_PACKAGE_PINENTRY
3 # At least one backend is needed to avoid build breakage
4 select BR2_PACKAGE_PINENTRY_NCURSES if !BR2_PACKAGE_PINENTRY_GTK2 && !BR2_PACKAGE_PINENTRY_QT4
6 A collection of simple PIN or pass-phrase entry dialogs
8 https://www.gnupg.org/related_software/pinentry/
10 if BR2_PACKAGE_PINENTRY
12 config BR2_PACKAGE_PINENTRY_NCURSES
13 bool "pinentry-ncurses"
14 select BR2_PACKAGE_NCURSES
15 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
17 The pinentry-ncurses tool
19 config BR2_PACKAGE_PINENTRY_GTK2
21 depends on BR2_PACKAGE_XORG7
22 depends on BR2_USE_WCHAR
23 depends on BR2_TOOLCHAIN_HAS_THREADS
24 depends on BR2_USE_MMU
25 depends on BR2_INSTALL_LIBSTDCPP
26 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
27 select BR2_PACKAGE_LIBGTK2
28 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
30 The pinentry-gtk2 tool
32 comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++"
33 depends on BR2_USE_MMU
34 depends on BR2_TOOLCHAIN_HAS_SYNC_4
35 depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
36 !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
38 config BR2_PACKAGE_PINENTRY_QT4
40 depends on BR2_USE_MMU # fork
41 depends on BR2_INSTALL_LIBSTDCPP
42 depends on BR2_TOOLCHAIN_HAS_THREADS
44 select BR2_PACKAGE_QT_GUI_MODULE
48 comment "pinentry-qt4 needs a toolchain w/ C++, threads"
49 depends on BR2_USE_MMU
50 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS