Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Fix macOS build (#771)

Oscar Beaumont1fd8e92f9822
diff --git a/Cargo.lock b/Cargo.lock
index eb0a08758..106a7f9d3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -945,7 +945,7 @@ dependencies = [
name = "cap-audio"
version = "0.1.0"
dependencies = [
- "cidre 0.10.1",
+ "cidre",
"cpal 0.15.3 (git+https://github.com/RustAudio/cpal?rev=f43d36e55494993bbbde3299af0c53e5cdf4d4cf)",
"ffmpeg-next",
"tokio",
@@ -955,7 +955,7 @@ dependencies = [
name = "cap-camera-avfoundation"
version = "0.1.0"
dependencies = [
- "cidre 0.10.1",
+ "cidre",
"clap 4.5.41",
"inquire",
]
@@ -1152,7 +1152,7 @@ dependencies = [
"cap-flags",
"cap-gpu-converters",
"cap-project",
- "cidre 0.10.1",
+ "cidre",
"cocoa 0.26.0",
"core-foundation 0.10.0",
"core-graphics 0.24.0",
@@ -1207,7 +1207,7 @@ dependencies = [
"cap-project",
"cap-utils",
"chrono",
- "cidre 0.10.1",
+ "cidre",
"cocoa 0.26.0",
"device_query 2.1.0",
"either",
@@ -1240,7 +1240,7 @@ dependencies = [
"cap-flags",
"cap-project",
"cap-video-decode",
- "cidre 0.10.1",
+ "cidre",
"ffmpeg-hw-device",
"ffmpeg-next",
"ffmpeg-sys-next",
@@ -1294,7 +1294,7 @@ dependencies = [
name = "cap-video-decode"
version = "0.1.0"
dependencies = [
- "cidre 0.10.1",
+ "cidre",
"ffmpeg-hw-device",
"ffmpeg-next",
"ffmpeg-sys-next",
@@ -1439,18 +1439,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "cidre"
-version = "0.9.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5b83f5e597a8fb4ba25eec2683aa3e89f9890dd7524622639a38e3f854c60eb"
-dependencies = [
- "cidre-macros",
- "half",
- "parking_lot",
- "tokio",
-]
-
[[package]]
name = "cidre"
version = "0.10.1"
@@ -6715,9 +6703,9 @@ dependencies = [
[[package]]
name = "scap"
version = "0.0.8"
-source = "git+https://github.com/CapSoftware/scap?rev=d69dcb2e653a#d69dcb2e653a714bf91d147333deb5fb06acb940"
+source = "git+https://github.com/CapSoftware/scap?rev=3782f9dd4ffb#3782f9dd4ffb9aba7f1a8b707dbddd777a9299ca"
dependencies = [
- "cidre 0.9.2",
+ "cidre",
"cocoa 0.25.0",
"core-graphics-helmer-fork",
"cpal 0.15.3 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/Cargo.toml b/Cargo.toml
index 97dbdda0e..b47c7977b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,7 +25,7 @@ specta = { version = "=2.0.0-rc.20", features = [
"uuid",
] }
-scap = { git = "https://github.com/CapSoftware/scap", rev = "d69dcb2e653a" }
+scap = { git = "https://github.com/CapSoftware/scap", rev = "3782f9dd4ffb" }
nokhwa = { git = "https://github.com/CapSoftware/nokhwa", rev = "b9c8079e82e2", features = [
"input-native",
"serialize",
@@ -63,3 +63,4 @@ dbg_macro = "deny"
[patch.crates-io]
screencapturekit = { git = "https://github.com/CapSoftware/screencapturekit-rs", rev = "7ff1e103742e56c8f6c2e940b5e52684ed0bed69" } # branch = "cap-main"
wry = { git = "https://github.com/CapSoftware/wry", rev = "293f510" } # branch = "cap"
+cidre = { git = "https://github.com/CapSoftware/cidre", rev = "517d097ae438" }