Commit 6d4f1aa1 authored by wxt's avatar wxt
Browse files

rustdesk-flutter: 1.3.9 -> 1.4.0

parent 1623ab8e
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -64,14 +64,14 @@ let
in
flutter.buildFlutterApplication rec {
  pname = "rustdesk";
  version = "1.3.9";
  version = "1.4.0";

  src = fetchFromGitHub {
    owner = "rustdesk";
    repo = "rustdesk";
    tag = version;
    fetchSubmodules = true;
    hash = "sha256-DvFsHrYLdAaEh2cXF8Zp5AvyG8Okiy2guW/r2x7Kz4U=";
    hash = "sha256-fuS2ENrMlzk1AIZGZp4M3ZbsHks5TFW2pRQEGzsTThQ=";
  };

  strictDeps = true;
@@ -101,7 +101,7 @@ flutter.buildFlutterApplication rec {
      src
      patches
      ;
    hash = "sha256-D64W2+eBR2RGiN+puJW3QIO1334SgOOHv5fws5r3wmg=";
    hash = "sha256-9DjfGfTs8/J9XPZmWXCibyRib1/abnWzznQn6A5Tw2I=";
  };

  dontCargoBuild = true;
@@ -153,8 +153,6 @@ flutter.buildFlutterApplication rec {

  patches = [
    ./make-build-reproducible.patch
    # Multiple version of core-foundation-sys will make fetchCargoVendor unhappy. Keep one of it.
    ./update-cargo-lock.patch
  ];

  prepareBuildRunner = ''
+0 −40
Original line number Diff line number Diff line
diff --git a/Cargo.lock b/Cargo.lock
index e8ed6c42e..3e90da8fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1178,7 +1178,7 @@ name = "core-foundation"
 version = "0.9.3"
 source = "git+https://github.com/madsmtm/core-foundation-rs.git?rev=7d593d016175755e492a92ef89edca68ac3bd5cd#7d593d016175755e492a92ef89edca68ac3bd5cd"
 dependencies = [
- "core-foundation-sys 0.8.6 (git+https://github.com/madsmtm/core-foundation-rs.git?rev=7d593d016175755e492a92ef89edca68ac3bd5cd)",
+ "core-foundation-sys",
  "libc",
 ]
 
@@ -1188,7 +1188,7 @@ version = "0.9.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
 dependencies = [
- "core-foundation-sys 0.8.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "core-foundation-sys",
  "libc",
 ]
 
@@ -1198,14 +1198,6 @@ version = "0.8.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
 
-[[package]]
-name = "core-foundation-sys"
-version = "0.8.6"
-source = "git+https://github.com/madsmtm/core-foundation-rs.git?rev=7d593d016175755e492a92ef89edca68ac3bd5cd#7d593d016175755e492a92ef89edca68ac3bd5cd"
-dependencies = [
- "objc2-encode 2.0.0-pre.2",
-]
-
 [[package]]
 name = "core-graphics"
 version = "0.22.3"
-- 
2.47.2