Config.in 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. menuconfig BR2_PACKAGE_PINENTRY
  2. bool "pinentry"
  3. depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
  4. depends on BR2_USE_MMU # libassuan
  5. select BR2_PACKAGE_LIBASSUAN
  6. select BR2_PACKAGE_LIBGPG_ERROR
  7. # At least one backend is needed to avoid build breakage
  8. select BR2_PACKAGE_PINENTRY_NCURSES if \
  9. !BR2_PACKAGE_PINENTRY_GTK2 && \
  10. !BR2_PACKAGE_PINENTRY_QT5
  11. help
  12. A collection of simple PIN or pass-phrase entry dialogs
  13. https://www.gnupg.org/related_software/pinentry/
  14. if BR2_PACKAGE_PINENTRY
  15. config BR2_PACKAGE_PINENTRY_FLTK
  16. bool "pinentry-fltk"
  17. depends on BR2_USE_MMU # fltk
  18. depends on BR2_INSTALL_LIBSTDCPP # fltk
  19. depends on BR2_PACKAGE_XORG7 # fltk
  20. select BR2_PACKAGE_FLTK
  21. help
  22. The pinentry-fltk tool
  23. comment "pinentry-fltk needs X and a toolchain w/ C++"
  24. depends on BR2_USE_MMU
  25. depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP
  26. config BR2_PACKAGE_PINENTRY_NCURSES
  27. bool "pinentry-ncurses"
  28. select BR2_PACKAGE_NCURSES
  29. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  30. help
  31. The pinentry-ncurses tool
  32. config BR2_PACKAGE_PINENTRY_GTK2
  33. bool "pinentry-gtk2"
  34. depends on BR2_PACKAGE_XORG7
  35. depends on BR2_USE_WCHAR
  36. depends on BR2_TOOLCHAIN_HAS_THREADS
  37. depends on BR2_USE_MMU
  38. depends on BR2_INSTALL_LIBSTDCPP
  39. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
  40. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz
  41. select BR2_PACKAGE_LIBGTK2
  42. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  43. help
  44. The pinentry-gtk2 tool
  45. comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++, gcc >= 4.8"
  46. depends on BR2_USE_MMU
  47. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  48. depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
  49. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
  50. !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
  51. config BR2_PACKAGE_PINENTRY_QT5
  52. bool "pinentry-qt5"
  53. depends on BR2_INSTALL_LIBSTDCPP
  54. depends on BR2_USE_WCHAR
  55. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  56. depends on BR2_HOST_GCC_AT_LEAST_5
  57. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
  58. depends on !BR2_arc
  59. depends on !BR2_STATIC_LIBS
  60. select BR2_PACKAGE_QT5
  61. select BR2_PACKAGE_QT5BASE_GUI
  62. select BR2_PACKAGE_QT5BASE_WIDGETS
  63. help
  64. The pinentry-qt5 tool
  65. comment "pinentry-qt5 needs a host gcc >= 5.0, and a toolchain w/ wchar, NPTL, gcc >= 5.0, C++, dynamic library"
  66. depends on !BR2_arc
  67. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  68. !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
  69. BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_5
  70. endif