2
1

Config.in 3.0 KB

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