edf3316322cd66a2b7c6601db8a6fdead4cf4dc4
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / pinentry / Config.in
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
7
8           https://www.gnupg.org/related_software/pinentry/
9
10 if BR2_PACKAGE_PINENTRY
11
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
18
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_ARCH_HAS_ATOMICS # libgtk2 -> cairo
27         select BR2_PACKAGE_LIBGTK2
28         select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
29         help
30           The pinentry-gtk2 tool
31
32 comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++"
33         depends on BR2_USE_MMU
34         depends on BR2_ARCH_HAS_ATOMICS
35         depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
36                 !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
37
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         select BR2_PACKAGE_QT
44         select BR2_PACKAGE_QT_GUI_MODULE
45         help
46           The pinentry-qt4 tool
47
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
51
52 endif