Building a Flatpak for scrcpy
by
Genymobile/scrcpy.
- GitHub: Genymobile/scrcpy
- Stack Overflow - Compile ADB from source
- Google Android Core Sources
- Google Android ADB Sources
- Android Build ADB
- Android actually building ADB
See CHANGELOG.md
See TODO.todo.md
You will need to have the following installed on your machine building the Flatpak.
flatpak
flatpak-builder
You'll need to have the Flatpak Flathub main repository added. I prefer to add it to the user, not the system/root.
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo apt install flatpak-builder
flatpak --user install flathub org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08
make build
make install
make run
The scrcpy
application should also be available from the application launcher.