Add libavdevice-dev in BUILD instructions
On Linux, scrcpy now depends on libavdevice for v4l2.
This commit is contained in:
parent
f062dfd30b
commit
8fb5715740
1 changed files with 4 additions and 4 deletions
8
BUILD.md
8
BUILD.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue