-
-
Notifications
You must be signed in to change notification settings - Fork 164
Building flutter‐pi
Hannes Winkler edited this page Sep 10, 2024
·
1 revision
-
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
-
Clone flutter-pi:
git clone --recursive https://github.com/ardera/flutter-pi
-
Build
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release ninja -C build && sudo ninja -C build install
- 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