Skip to content

Building flutter‐pi

Hannes Winkler edited this page Sep 10, 2024 · 1 revision

🛠 Building flutter-pi

  1. Install & setup dependencies: (footnote)

    sudo apt install ninja-build cmake libgl-dev libgles-dev libegl-dev libdrm-dev libgbm-dev fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev libxkbcommon-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa libseat-dev
    sudo fc-cache
  2. Clone flutter-pi:

    git clone --recursive https://github.com/ardera/flutter-pi
  3. Build

    cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release
    ninja -C build && sudo ninja -C build install

Footnotes

  1. If you do not want the video_player plugin, only install: ninja-build cmake libgl-dev libgles-dev libegl-dev libdrm-dev libgbm-dev fonts-liberation fontconfig libsystemd-dev libinput-dev libudev-dev libxkbcommon-dev
Clone this wiki locally