From 9707c9a480afaf2090ccf9962e9f5dc9855dc94f Mon Sep 17 00:00:00 2001 From: Romain Bouqueau Date: Mon, 9 Sep 2024 09:06:07 -0400 Subject: [PATCH 1/2] mac so build: add mandatory deps --- docs/Build/build/GPAC-Build-Guide-for-OSX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Build/build/GPAC-Build-Guide-for-OSX.md b/docs/Build/build/GPAC-Build-Guide-for-OSX.md index d2f1c659..bf0c4d7f 100644 --- a/docs/Build/build/GPAC-Build-Guide-for-OSX.md +++ b/docs/Build/build/GPAC-Build-Guide-for-OSX.md @@ -28,7 +28,7 @@ brew install cmake scons coreutils gettext yasm git wget pkg-config 3. Install dependencies ```bash -brew install freetype jpeg libpng openjpeg mad faad2 libogg libvorbis theora a52dec ffmpeg x264 aom xvid openssl@1.1 sdl2 +brew install freetype jpeg libpng openjpeg mad faad2 libogg libvorbis theora a52dec ffmpeg x264 aom xvid openssl@1.1 sdl2 libcaca kvazaar ``` From f06ff07baf064a12099fdff9a588ba19e79ecfa7 Mon Sep 17 00:00:00 2001 From: Romain Bouqueau Date: Mon, 9 Sep 2024 09:15:34 -0400 Subject: [PATCH 2/2] macos build: additional steps for Xcode (that expects all deps to be present, including experimental ones) --- docs/Build/build/GPAC-Build-Guide-for-OSX.md | 33 +++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/Build/build/GPAC-Build-Guide-for-OSX.md b/docs/Build/build/GPAC-Build-Guide-for-OSX.md index bf0c4d7f..557e2822 100644 --- a/docs/Build/build/GPAC-Build-Guide-for-OSX.md +++ b/docs/Build/build/GPAC-Build-Guide-for-OSX.md @@ -84,9 +84,40 @@ total 42784 _(contents and versions may differ depending on updates and deprecated features)_ -## Build gpac +## Build Xcode additional dependencies + +Add these only if you explicitely need them or if you plan to use Xcode. The command-line build doesn't need these experimental tools. + +Make sure you have the required build tools: + +```bash +brew install autoconf automake libtool +``` + +Install openvvc: + +```bash +git clone https://github.com/OpenVVC/OpenVVC.git && cd OpenVVC && autoreconf -iv && ./configure && make +make install +``` +Install vvdec: + +```bash +git clone https://github.com/fraunhoferhhi/vvdec.git && mkdir vvdec/build && cd vvdec/build && cmake .. && make -j && make install +sudo cp -r ../install/* /usr/local/ +``` + +Install vvenc: + +```bash +git clone https://github.com/fraunhoferhhi/vvenc.git && mkdir vvenc/build && cd vvenc/build && cmake .. && make -j && make install +sudo cp -r ../install/* /usr/local/ ``` + +## Build gpac + +```bash cd ../gpac_public ./configure --extra-cflags=-Wno-deprecated make