From 8fb5715740e52bcb2ba8d4bac1e53f4ef76ef688 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 9 May 2021 10:49:46 +0200 Subject: [PATCH] Add libavdevice-dev in BUILD instructions On Linux, scrcpy now depends on libavdevice for v4l2. --- BUILD.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BUILD.md b/BUILD.md index 4dc6d64c..d5aead0f 100644 --- a/BUILD.md +++ b/BUILD.md @@ -13,8 +13,8 @@ First, you need to install the required packages: ```bash # for Debian/Ubuntu sudo apt install ffmpeg libsdl2-2.0-0 adb wget \ - gcc git pkg-config meson ninja-build \ - libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev + gcc git pkg-config meson ninja-build libsdl2-dev \ + libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev ``` Then clone the repo and execute the installation script @@ -91,8 +91,8 @@ Install the required packages from your package manager. sudo apt install ffmpeg libsdl2-2.0-0 adb # client build dependencies -sudo apt install gcc git pkg-config meson ninja-build \ - libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev +sudo apt install gcc git pkg-config meson ninja-build libsdl2-dev \ + libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev # server build dependencies sudo apt install openjdk-11-jdk