99a50a8c98
flutter-pi is one of many flutter-embedders. However, flutter-pi is unique because it doesn't require X or Wayland to run. So long as there is support for KMS and DRI flutter-pi should run on any platform that flutter-engine supports. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> [yann.morin.1998@free.fr: drop unused BR2_PACKAGE_FLUTTER_PI_TEST_PLUGIN] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
79 lines
2.6 KiB
Plaintext
79 lines
2.6 KiB
Plaintext
menuconfig BR2_PACKAGE_FLUTTER_PI
|
|
bool "flutter-pi"
|
|
depends on BR2_PACKAGE_FLUTTER_ENGINE
|
|
depends on BR2_PACKAGE_HAS_LIBGBM
|
|
depends on BR2_PACKAGE_SYSTEMD # Event loop and dbus support
|
|
depends on BR2_PACKAGE_HAS_UDEV # libinput
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_LIBINPUT
|
|
select BR2_PACKAGE_LIBXKBCOMMON
|
|
help
|
|
A light-weight Flutter Engine Embedder. Flutter-pi also
|
|
runs without X11, so you don't need to boot into a
|
|
Desktop & have X11 or Wayland load up; just boot into the
|
|
command-line.
|
|
|
|
Although flutter-pi is only tested on a Rasberry Pi 4
|
|
2GB, it should work fine on other linux platforms supported
|
|
by Flutter so long as there is support for KMS and DRI.
|
|
|
|
https://github.com/ardera/flutter-pi
|
|
|
|
if BR2_PACKAGE_FLUTTER_PI
|
|
|
|
comment "plugins"
|
|
|
|
config BR2_PACKAGE_FLUTTER_PI_GSTREAMER_AUDIO_PLAYER_PLUGIN
|
|
bool "gstreamer audio player"
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
select BR2_PACKAGE_GSTREAMER1
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME
|
|
help
|
|
Include the gstreamer based video plugins in the finished
|
|
binary. Allows for more stable, hardware accelerated
|
|
video playback in flutter using gstreamer.
|
|
|
|
config BR2_PACKAGE_FLUTTER_PI_GSTREAMER_VIDEO_PLAYER_PLUGIN
|
|
bool "gstreamer video player"
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
select BR2_PACKAGE_GSTREAMER1
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERTSCALE
|
|
help
|
|
Include the gstreamer based video plugins in the finished
|
|
binary. Allows for more stable, hardware accelerated
|
|
video playback in flutter using gstreamer.
|
|
|
|
comment "gstreamer video player plugin needs an OpenGL ES backend"
|
|
depends on !BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
config BR2_PACKAGE_FLUTTER_PI_RAW_KEYBOARD_PLUGIN
|
|
bool "raw keyboard"
|
|
help
|
|
Include the raw keyboard plugin in the finished binary.
|
|
Enables raw keycode listening in flutter via the flutter
|
|
RawKeyboard interface.
|
|
|
|
config BR2_PACKAGE_FLUTTER_PI_TEXT_INPUT_PLUGIN
|
|
bool "text input"
|
|
help
|
|
Include the text input plugin in the finished binary.
|
|
Enables text input (to flutter text fields, for example)
|
|
via attached keyboards.
|
|
|
|
endif
|
|
|
|
comment "flutter-pi needs flutter-engine"
|
|
depends on !BR2_PACKAGE_FLUTTER_ENGINE
|
|
|
|
comment "flutter-pi needs GBM, systemd, and udev"
|
|
depends on !BR2_PACKAGE_HAS_LIBGBM || \
|
|
!BR2_PACKAGE_SYSTEMD || \
|
|
!BR2_PACKAGE_HAS_UDEV
|