From a42a73378b7c527a5e4600544b2d7a86d68c5aac Mon Sep 17 00:00:00 2001 From: Malte Voos Date: Fri, 17 Oct 2025 23:28:48 +0200 Subject: macos support --- Cargo.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9731e9a..ed363f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,9 @@ edition = "2024" gst = { version = "0.24.1", package = "gstreamer", features = ["v1_26"] } gst-video = { version = "0.24.1", package = "gstreamer-video", features = ["v1_26"] } gst-play = { version = "0.24.0", package = "gstreamer-play", features = ["v1_26"] } -gtk = { version = "0.10.0", package = "gtk4", features = ["v4_18"] } -adw = { version = "0.8.0", package = "libadwaita", features = ["v1_7"] } +gst-plugin-gtk4 = { version = "0.14", features = ["gtk_v4_16"] } +gtk = { version = "0.10.0", package = "gtk4", features = ["v4_16"] } +adw = { version = "0.8.0", package = "libadwaita", features = ["v1_6"] } async-channel = "2.0" relm4 = { version = "0.10.0-beta.4", features = ["libadwaita"] } relm4-components = "0.10.0-beta.4" @@ -20,6 +21,12 @@ tracker = "0.2.2" unicode-segmentation = "1.12.0" isolang = { git = "https://github.com/humenda/isolang-rs" } +[target.'cfg(target_os = "macos")'.dependencies] +cocoa = "0.26" +objc = "0.2.7" + +[target.'cfg(target_os = "macos")'.build-dependencies] +system-deps = "7" # TODO remove [profile.release] -- cgit 1.4.1