openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / pinentry / Config.in
blob682af9f3f2652af7d137fb5d4cc13934a811bd35
1 menuconfig BR2_PACKAGE_PINENTRY
2         bool "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
5         help
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
16         help
17           The pinentry-ncurses tool
19 config BR2_PACKAGE_PINENTRY_GTK2
20         bool "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
29         help
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
39         bool "pinentry-qt4"
40         depends on BR2_USE_MMU # fork
41         depends on BR2_INSTALL_LIBSTDCPP
42         depends on BR2_TOOLCHAIN_HAS_THREADS
43         depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
44         select BR2_PACKAGE_QT
45         select BR2_PACKAGE_QT_GUI_MODULE
46         help
47           The pinentry-qt4 tool
49 comment "pinentry-qt4 support needs a toolchain not affected by Binutils bug 19405"
50         depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
52 comment "pinentry-qt4 needs a toolchain w/ C++, threads"
53         depends on BR2_USE_MMU
54         depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
56 endif