Skip to content

nexustar/scrcpy-flatpak

Repository files navigation

scrcpy-flatpak

Overview

Building a Flatpak for scrcpy by Genymobile/scrcpy.

References

Change Log

See CHANGELOG.md

To-Do Tasks

See TODO.todo.md

Requirements

You will need to have the following installed on your machine building the Flatpak.

  • flatpak
  • flatpak-builder

Setup

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

Build Steps

How to build and install it

install dependencies

sudo apt install flatpak-builder
flatpak --user install flathub org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08

Build

make build

Install

make install

Run

make run

The scrcpy application should also be available from the application launcher.