From 22149c2349dbd6f27c70b842e51ffdb20b6275b8 Mon Sep 17 00:00:00 2001 From: CDrummond Date: Sun, 16 Mar 2025 17:04:07 +0000 Subject: [PATCH] Document build steps for Pi --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4521ff7..8a3ea7d 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,14 @@ dnf install ffmpeg-devel clang pkg-config Build with `cargo build --release --features=libav` +If building on a Raspberry Pi, then `rpi` also needs to be passed to `--features`, e.g. +`cargo build --release --features=libav,rpi` + The resultant application will be less portable, due to dependencies on `libavcodec` libraries (and their dependencies). + + ## Build for 'libavcodec' library usage, statically linked `clang`, `pkg-config`, and `ffmpeg` are required to build, as well as @@ -89,6 +94,10 @@ dnf install ffmpeg-devel clang pkg-config Build with `cargo build --release --features=libav,libavstatic` +If building on a Raspberry Pi, then `rpi` also needs to be passed to `--features`, e.g. +`cargo build --release --features=libav,libavstatic,rpi` + + ## Build for 'symphonia'