diff --git a/.github/scripts/setup-system.sh b/.github/scripts/setup-system.sh index 6dff259bc..f2d548962 100755 --- a/.github/scripts/setup-system.sh +++ b/.github/scripts/setup-system.sh @@ -184,10 +184,17 @@ elif [[ $OSTYPE == "darwin"* ]]; then echo "Installing Homebrew dependencies..." - BREW_DEPS="ffmpeg" BREW_LIBP2P_DEPS="protobuf" - brew install -q $BREW_DEPS $BREW_LIBP2P_DEPS + brew install -q $BREW_LIBP2P_DEPS + + if ! brew tap homebrew-ffmpeg/ffmpeg; then + log_err "We were unable to add the homebrew-ffmpeg tap. Please ensure that you have ran `brew uninstall ffmpeg` and try again." + fi + + if ! brew install homebrew-ffmpeg/ffmpeg/ffmpeg; then + log_err "We were unable to install the homebrew-ffmpeg/ffmpeg package. Please ensure that you have ran `brew uninstall ffmpeg` and try again." + fi else log_err "Your OS ($OSTYPE) is not supported by this script. We would welcome a PR or some help adding your OS to this script. https://github.com/spacedriveapp/spacedrive/issues" exit 1 diff --git a/Cargo.lock b/Cargo.lock index 1ef92eacb..924122f6e 100644 Binary files a/Cargo.lock and b/Cargo.lock differ diff --git a/core/Cargo.toml b/core/Cargo.toml index 3a10782f7..069810bd6 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -72,7 +72,7 @@ http-range = "0.1.5" mini-moka = "0.10.0" serde_with = "2.2.0" dashmap = { version = "5.4.0", features = ["serde"] } -ffmpeg-next = { version = "5.1.1", optional = true, features = [] } +ffmpeg-next = { version = "6.0.0", optional = true, features = [] } notify = { version = "5.0.0", default-features = false, features = [ "macos_fsevent", ], optional = true } diff --git a/crates/ffmpeg/Cargo.toml b/crates/ffmpeg/Cargo.toml index 376e1b094..24134f26d 100644 --- a/crates/ffmpeg/Cargo.toml +++ b/crates/ffmpeg/Cargo.toml @@ -12,7 +12,7 @@ resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ffmpeg-sys-next = "5.1.1" +ffmpeg-sys-next = "6.0.0" thiserror = "1.0.37" webp = "0.2.2"