From e86c581b76e48706ea3bfa0cf39e9900ddc59c66 Mon Sep 17 00:00:00 2001 From: Mathieu Demange Date: Thu, 26 Jun 2025 12:48:24 +0200 Subject: [PATCH] Add build instructions for macOS with Homebrew Update README.md file adding simple instructions to build on macOS with Homebrew installed. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index db6285b..80c566e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ This fork improves the [original](https://github.com/ponchio/untrunc) in the fol Windows users can download the latest version [here](https://github.com/anthwlock/untrunc/releases/latest).\ In certain cases a specific version of ffmpeg is needed. Untrunc works great with ffmpeg 3.3.9. +#### macOS with Homebrew + +``` +brew install ffmpeg yasm +export PKG_CONFIG_PATH="/opt/homebrew/lib/pkgconfig" +CPPFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" make +``` + #### With system libraries ```shell