xref: /OK3568_Linux_fs/buildroot/package/pinentry/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenuconfig BR2_PACKAGE_PINENTRY
2*4882a593Smuzhiyun	bool "pinentry"
3*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
4*4882a593Smuzhiyun	depends on BR2_USE_MMU # libassuan
5*4882a593Smuzhiyun	select BR2_PACKAGE_LIBASSUAN
6*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGPG_ERROR
7*4882a593Smuzhiyun	# At least one backend is needed to avoid build breakage
8*4882a593Smuzhiyun	select BR2_PACKAGE_PINENTRY_NCURSES if \
9*4882a593Smuzhiyun		!BR2_PACKAGE_PINENTRY_GTK2 && \
10*4882a593Smuzhiyun		!BR2_PACKAGE_PINENTRY_QT5
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  A collection of simple PIN or pass-phrase entry dialogs
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	  https://www.gnupg.org/related_software/pinentry/
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunif BR2_PACKAGE_PINENTRY
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunconfig BR2_PACKAGE_PINENTRY_EFL
19*4882a593Smuzhiyun	bool "pinentry-efl"
20*4882a593Smuzhiyun	depends on BR2_PACKAGE_EFL
21*4882a593Smuzhiyun	depends on BR2_PACKAGE_XORG7
22*4882a593Smuzhiyun	select BR2_PACKAGE_EFL_X_XLIB
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  The pinentry-efl tool
25*4882a593Smuzhiyun
26*4882a593Smuzhiyuncomment "pinentry-efl needs efl and X"
27*4882a593Smuzhiyun	depends on !BR2_PACKAGE_EFL || !BR2_PACKAGE_XORG7
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig BR2_PACKAGE_PINENTRY_FLTK
30*4882a593Smuzhiyun	bool "pinentry-fltk"
31*4882a593Smuzhiyun	depends on BR2_USE_MMU # fltk
32*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP # fltk
33*4882a593Smuzhiyun	depends on BR2_PACKAGE_XORG7 # fltk
34*4882a593Smuzhiyun	select BR2_PACKAGE_FLTK
35*4882a593Smuzhiyun	help
36*4882a593Smuzhiyun	  The pinentry-fltk tool
37*4882a593Smuzhiyun
38*4882a593Smuzhiyuncomment "pinentry-fltk needs X and a toolchain w/ C++"
39*4882a593Smuzhiyun	depends on BR2_USE_MMU
40*4882a593Smuzhiyun	depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunconfig BR2_PACKAGE_PINENTRY_NCURSES
43*4882a593Smuzhiyun	bool "pinentry-ncurses"
44*4882a593Smuzhiyun	select BR2_PACKAGE_NCURSES
45*4882a593Smuzhiyun	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  The pinentry-ncurses tool
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig BR2_PACKAGE_PINENTRY_GTK2
50*4882a593Smuzhiyun	bool "pinentry-gtk2"
51*4882a593Smuzhiyun	depends on BR2_PACKAGE_XORG7
52*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
53*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
54*4882a593Smuzhiyun	depends on BR2_USE_MMU
55*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
56*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
57*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz
58*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGTK2
59*4882a593Smuzhiyun	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
60*4882a593Smuzhiyun	help
61*4882a593Smuzhiyun	  The pinentry-gtk2 tool
62*4882a593Smuzhiyun
63*4882a593Smuzhiyuncomment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++, gcc >= 4.8"
64*4882a593Smuzhiyun	depends on BR2_USE_MMU
65*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_SYNC_4
66*4882a593Smuzhiyun	depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
67*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
68*4882a593Smuzhiyun		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig BR2_PACKAGE_PINENTRY_QT5
71*4882a593Smuzhiyun	bool "pinentry-qt5"
72*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
73*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
74*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
75*4882a593Smuzhiyun	depends on BR2_HOST_GCC_AT_LEAST_5
76*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
77*4882a593Smuzhiyun	depends on !BR2_arc
78*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
79*4882a593Smuzhiyun	select BR2_PACKAGE_QT5
80*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_GUI
81*4882a593Smuzhiyun	select BR2_PACKAGE_QT5BASE_WIDGETS
82*4882a593Smuzhiyun	help
83*4882a593Smuzhiyun	  The pinentry-qt5 tool
84*4882a593Smuzhiyun
85*4882a593Smuzhiyuncomment "pinentry-qt5 needs a host gcc >= 5.0, and a toolchain w/ wchar, NPTL, gcc >= 5.0, C++, dynamic library"
86*4882a593Smuzhiyun	depends on !BR2_arc
87*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
88*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
89*4882a593Smuzhiyun		BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_5
90*4882a593Smuzhiyun
91*4882a593Smuzhiyunendif
92