Add libavdevice-dev in BUILD instructions

On Linux, scrcpy now depends on libavdevice for v4l2.
This commit is contained in:
Romain Vimont 2021-05-09 10:49:46 +02:00
parent f062dfd30b
commit 8fb5715740

View file

@ -13,8 +13,8 @@ First, you need to install the required packages:
```bash ```bash
# for Debian/Ubuntu # for Debian/Ubuntu
sudo apt install ffmpeg libsdl2-2.0-0 adb wget \ sudo apt install ffmpeg libsdl2-2.0-0 adb wget \
gcc git pkg-config meson ninja-build \ gcc git pkg-config meson ninja-build libsdl2-dev \
libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev
``` ```
Then clone the repo and execute the installation script 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 sudo apt install ffmpeg libsdl2-2.0-0 adb
# client build dependencies # client build dependencies
sudo apt install gcc git pkg-config meson ninja-build \ sudo apt install gcc git pkg-config meson ninja-build libsdl2-dev \
libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev
# server build dependencies # server build dependencies
sudo apt install openjdk-11-jdk sudo apt install openjdk-11-jdk