Config.in 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_EFL
  16. bool "pinentry-efl"
  17. depends on BR2_PACKAGE_EFL
  18. depends on BR2_PACKAGE_XORG7
  19. select BR2_PACKAGE_EFL_X_XLIB
  20. help
  21. The pinentry-efl tool
  22. comment "pinentry-efl needs efl and X"
  23. depends on !BR2_PACKAGE_EFL || !BR2_PACKAGE_XORG7
  24. config BR2_PACKAGE_PINENTRY_FLTK
  25. bool "pinentry-fltk"
  26. depends on BR2_USE_MMU # fltk
  27. depends on BR2_INSTALL_LIBSTDCPP # fltk
  28. depends on BR2_PACKAGE_XORG7 # fltk
  29. select BR2_PACKAGE_FLTK
  30. help
  31. The pinentry-fltk tool
  32. comment "pinentry-fltk needs X and a toolchain w/ C++"
  33. depends on BR2_USE_MMU
  34. depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP
  35. config BR2_PACKAGE_PINENTRY_NCURSES
  36. bool "pinentry-ncurses"
  37. select BR2_PACKAGE_NCURSES
  38. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  39. help
  40. The pinentry-ncurses tool
  41. config BR2_PACKAGE_PINENTRY_GTK2
  42. bool "pinentry-gtk2"
  43. depends on BR2_PACKAGE_XORG7
  44. depends on BR2_USE_WCHAR
  45. depends on BR2_TOOLCHAIN_HAS_THREADS
  46. depends on BR2_USE_MMU
  47. depends on BR2_INSTALL_LIBSTDCPP
  48. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
  49. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz
  50. select BR2_PACKAGE_LIBGTK2
  51. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  52. help
  53. The pinentry-gtk2 tool
  54. comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++, gcc >= 4.9"
  55. depends on BR2_USE_MMU
  56. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  57. depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
  58. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
  59. !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
  60. config BR2_PACKAGE_PINENTRY_QT5
  61. bool "pinentry-qt5"
  62. depends on BR2_INSTALL_LIBSTDCPP
  63. depends on BR2_USE_WCHAR
  64. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  65. depends on BR2_HOST_GCC_AT_LEAST_5
  66. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
  67. depends on !BR2_ARM_CPU_ARMV4
  68. depends on !BR2_arc
  69. depends on !BR2_STATIC_LIBS
  70. select BR2_PACKAGE_QT5
  71. select BR2_PACKAGE_QT5BASE_GUI
  72. select BR2_PACKAGE_QT5BASE_WIDGETS
  73. help
  74. The pinentry-qt5 tool
  75. comment "pinentry-qt5 needs a host gcc >= 5.0, and a toolchain w/ wchar, NPTL, gcc >= 5.0, C++, dynamic library"
  76. depends on !BR2_arc
  77. depends on !BR2_ARM_CPU_ARMV4
  78. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  79. !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
  80. BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_5
  81. endif