Config.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. menuconfig BR2_PACKAGE_FLUTTER_PI
  2. bool "flutter-pi"
  3. depends on BR2_PACKAGE_HOST_FLUTTER_SDK_BIN_ARCH_SUPPORTS
  4. depends on BR2_PACKAGE_FLUTTER_ENGINE_ARCH_SUPPORTS
  5. depends on BR2_HOST_GCC_AT_LEAST_5 # flutter-engine
  6. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # flutter-engine
  7. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # flutter-engine
  8. depends on BR2_TOOLCHAIN_USES_GLIBC # flutter-engine
  9. depends on BR2_INSTALL_LIBSTDCPP # flutter-engine
  10. depends on !BR2_STATIC_LIBS # flutter-engine, wayland
  11. depends on BR2_USE_WCHAR # flutter-engine
  12. depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES # flutter-engine
  13. depends on BR2_PACKAGE_HAS_LIBGBM
  14. depends on BR2_PACKAGE_SYSTEMD # Event loop and dbus support
  15. depends on BR2_PACKAGE_HAS_UDEV # libinput
  16. select BR2_PACKAGE_HOST_FLUTTER_SDK_BIN
  17. select BR2_PACKAGE_FLUTTER_ENGINE
  18. select BR2_PACKAGE_LIBDRM
  19. select BR2_PACKAGE_LIBINPUT
  20. select BR2_PACKAGE_LIBXKBCOMMON
  21. help
  22. A light-weight Flutter Engine Embedder. Flutter-pi also
  23. runs without X11, so you don't need to boot into a
  24. Desktop & have X11 or Wayland load up; just boot into the
  25. command-line.
  26. Although flutter-pi is only tested on a Rasberry Pi 4
  27. 2GB, it should work fine on other linux platforms supported
  28. by Flutter so long as there is support for KMS and DRI.
  29. https://github.com/ardera/flutter-pi
  30. if BR2_PACKAGE_FLUTTER_PI
  31. comment "plugins"
  32. config BR2_PACKAGE_FLUTTER_PI_CHARSET_CONVERTER_PLUGIN
  33. bool "charset converter"
  34. help
  35. Adds platform-side implementation of charset_converter plugin.
  36. Encode and decode charsets using platform built-in converter.
  37. This plugin saves app package size as you don't need external
  38. charset maps or whole libraries like iconv.
  39. https://pub.dev/packages/charset_converter
  40. config BR2_PACKAGE_FLUTTER_PI_GSTREAMER_AUDIO_PLAYER_PLUGIN
  41. bool "gstreamer audio player"
  42. depends on BR2_PACKAGE_HAS_LIBGLES
  43. select BR2_PACKAGE_GSTREAMER1
  44. select BR2_PACKAGE_GST1_PLUGINS_BASE
  45. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
  46. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
  47. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
  48. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
  49. help
  50. Include the gstreamer based video plugins in the finished
  51. binary. Allows for more stable, hardware accelerated
  52. video playback in flutter using gstreamer.
  53. config BR2_PACKAGE_FLUTTER_PI_GSTREAMER_VIDEO_PLAYER_PLUGIN
  54. bool "gstreamer video player"
  55. depends on BR2_PACKAGE_HAS_LIBGLES
  56. select BR2_PACKAGE_GSTREAMER1
  57. select BR2_PACKAGE_GST1_PLUGINS_BASE
  58. select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
  59. select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2
  60. select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
  61. help
  62. Include the gstreamer based video plugins in the finished
  63. binary. Allows for more stable, hardware accelerated
  64. video playback in flutter using gstreamer.
  65. comment "gstreamer video player plugin needs an OpenGL ES backend"
  66. depends on !BR2_PACKAGE_HAS_LIBGLES
  67. config BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN
  68. bool "raw keyboard"
  69. help
  70. Include the raw keyboard plugin in the finished binary.
  71. Enables raw keycode listening in flutter via the flutter
  72. RawKeyboard interface.
  73. config BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN
  74. bool "text input"
  75. help
  76. Include the text input plugin in the finished binary.
  77. Enables text input (to flutter text fields, for example)
  78. via attached keyboards.
  79. endif
  80. comment "flutter-pi needs a glibc toolchain w/ wchar, C++, gcc >= 5, dynamic library, host gcc >= 5"
  81. depends on BR2_PACKAGE_HOST_FLUTTER_SDK_BIN_ARCH_SUPPORTS
  82. depends on BR2_PACKAGE_FLUTTER_ENGINE_ARCH_SUPPORTS
  83. depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP \
  84. || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || BR2_STATIC_LIBS \
  85. || !BR2_USE_WCHAR || !BR2_HOST_GCC_AT_LEAST_5
  86. comment "flutter-pi needs a toolchain not affected by GCC bug 64735"
  87. depends on BR2_PACKAGE_HOST_FLUTTER_SDK_BIN_ARCH_SUPPORTS
  88. depends on BR2_PACKAGE_FLUTTER_ENGINE_ARCH_SUPPORTS
  89. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
  90. comment "flutter-pi needs an OpenGL or OpenGLES backend"
  91. depends on BR2_PACKAGE_HOST_FLUTTER_SDK_BIN_ARCH_SUPPORTS
  92. depends on BR2_PACKAGE_FLUTTER_ENGINE_ARCH_SUPPORTS
  93. depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES
  94. comment "flutter-pi needs GBM, systemd, and udev"
  95. depends on !BR2_PACKAGE_HAS_LIBGBM || \
  96. !BR2_PACKAGE_SYSTEMD || \
  97. !BR2_PACKAGE_HAS_UDEV