Skip to content

Instantly share code, notes, and snippets.

@RubenNL
Created January 12, 2020 09:52
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save RubenNL/e259f145371d2c16a3932fa39aa9a775 to your computer and use it in GitHub Desktop.
Save RubenNL/e259f145371d2c16a3932fa39aa9a775 to your computer and use it in GitHub Desktop.
sudo apt install git wget meson libavformat-dev libsdl2-dev adb
when asked, type 'y' and enter
git clone https://github.com/Genymobile/scrcpy.git
cd scrcpy
wget https://github.com/Genymobile/scrcpy/releases/download/v1.12.1/scrcpy-server-v1.12.1
meson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=scrcpy-server-v1.12.1
ninja -Cx
sudo ninja -Cx install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment