From 4c883b5b7d03c18caf312faabfd1273ed56a1519 Mon Sep 17 00:00:00 2001 From: jarrodcolburn Date: Mon, 4 Dec 2023 12:27:11 -0600 Subject: [PATCH] fix: clone over https (#134) Fix: use `https` to clone `ffmpeg` repo Description: Current `.sh` script uses `ssh` to `git clone` repo for `ffmpeg`. However, many people (like me) building may be using a build environment without GitHub ssh setup. Attempting to clone GitHub repo without ssh keys setup results in the following error: ```bash Cloning into 'ffmpeg'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` --- libs/compositor-ffmpeg-h264/build_wasm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/compositor-ffmpeg-h264/build_wasm.sh b/libs/compositor-ffmpeg-h264/build_wasm.sh index bb9dea0b..85a20d69 100755 --- a/libs/compositor-ffmpeg-h264/build_wasm.sh +++ b/libs/compositor-ffmpeg-h264/build_wasm.sh @@ -11,7 +11,7 @@ popd FFMPEG_VERSION="n5.1.2" ensure_ffmpeg() { - [ -e ffmpeg ] || git clone --depth 1 --branch "$FFMPEG_VERSION" "git@github.com:FFmpeg/FFmpeg.git" ffmpeg + [ -e ffmpeg ] || git clone --depth 1 --branch "$FFMPEG_VERSION" "https://github.com/FFmpeg/FFmpeg.git" ffmpeg } build() {