GithubHelp home page GithubHelp logo

light1707 / flutter_wayland Goto Github PK

View Code? Open in Web Editor NEW

This project forked from degitx/flutter_wayland

0.0 1.0 0.0 699 KB

License: BSD 3-Clause "New" or "Revised" License

CMake 4.15% C++ 95.85%

flutter_wayland's Introduction

Flutter Wayland

A Flutter Embedder that talks to Wayland.

Running in Weston

Build Setup Instructions

  • Install the following packages (on Debian Stretch): weston, libwayland-dev, cmake and ninja.
  • From the source root mkdir build and move into the directory.
  • cmake -G Ninja ../. This should check you development environment for required packages, download the Flutter engine artifacts and unpack the same in the build directory.
  • ninja to build the embedder.
  • Run the embedder using ./flutter_wayland. Make sure weston is running. See the instructions on running Flutter applications below.

Running Flutter Applications

Flutter Wayland Embedder
========================

Usage: `flutter_wayland <asset_bundle_path> <flutter_flags>`

This utility runs an instance of a Flutter application and renders using
Wayland core protocols.

The Flutter tools can be obtained at https://flutter.io/

asset_bundle_path: The Flutter application code needs to be snapshotted using
                   the Flutter tools and the assets packaged in the appropriate
                   location. This can be done for any Flutter application by
                   running `flutter build bundle` while in the directory of a
                   valid Flutter project. This should package all the code and
                   assets in the "build/flutter_assets" directory. Specify this
                   directory as the first argument to this utility.

    flutter_flags: Typically empty. These extra flags are passed directly to the
                   Flutter engine. To see all supported flags, run
                   `flutter_tester --help` using the test binary included in the
                   Flutter tools.

flutter_wayland's People

Contributors

dwrobel avatar chinmaygarde avatar degitx avatar tomasz-karczewski-red avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.