From 1ac434354b1ae701332d283431ef33e6fb790154 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Mon, 18 Sep 2023 18:17:05 +0530 Subject: [PATCH] Use git dependencies of forked branch of media_kit --- pubspec.lock | 31 +++++++++++++++++-------------- pubspec.yaml | 18 +++++++++++++++--- 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index bcb9c2815..d76fde591 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1146,10 +1146,11 @@ packages: media_kit: dependency: "direct main" description: - name: media_kit - sha256: "92c7f59e075d74471b31e703f81ccc1d7102739ebcce945b30a6417fa2f751d5" - url: "https://pub.dev" - source: hosted + path: media_kit + ref: main + resolved-ref: "8926ede69cb11aca45e9ea2b26428202e82ea5de" + url: "https://github.com/ashilkn/media-kit.git" + source: git version: "1.1.7" media_kit_libs_android_video: dependency: transitive @@ -1186,10 +1187,11 @@ packages: media_kit_libs_video: dependency: "direct main" description: - name: media_kit_libs_video - sha256: d961c49bc0d454524014b76fd66db1aa06e673f03b616f5fdbc59c405178a878 - url: "https://pub.dev" - source: hosted + path: "libs/universal/media_kit_libs_video" + ref: main + resolved-ref: "8926ede69cb11aca45e9ea2b26428202e82ea5de" + url: "https://github.com/ashilkn/media-kit.git" + source: git version: "1.0.1" media_kit_libs_windows_video: dependency: transitive @@ -1210,10 +1212,11 @@ packages: media_kit_video: dependency: "direct main" description: - name: media_kit_video - sha256: cd3ab78e7626146f115134b82c4029ac5987ba6351719c9067d86789723e0c12 - url: "https://pub.dev" - source: hosted + path: media_kit_video + ref: main + resolved-ref: "9cbfe2b01a2387b2a536e13069efd6b6b631f366" + url: "https://github.com/ashilkn/media-kit.git" + source: git version: "1.1.8" meta: dependency: transitive @@ -1621,10 +1624,10 @@ packages: dependency: transitive description: name: screen_brightness_windows - sha256: db39219ce99aecd697a86a47f0c1866977e50ea5d881e7224aee26f48c27c6a4 + sha256: "9261bf33d0fc2707d8cf16339ce25768100a65e70af0fcabaf032fc12408ba86" url: "https://pub.dev" source: hosted - version: "0.1.2" + version: "0.1.3" scrollable_positioned_list: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 90a31ca41..b4ecda6ae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -93,9 +93,21 @@ dependencies: logging: ^1.0.1 lottie: ^1.2.2 media_extension: ^1.0.1 - media_kit: ^1.1.7 - media_kit_libs_video: ^1.0.1 - media_kit_video: ^1.1.8 + media_kit: + git: + url: https://github.com/ashilkn/media-kit.git + ref: main + path: media_kit + media_kit_libs_video: + git: + url: https://github.com/ashilkn/media-kit.git + ref: main + path: libs/universal/media_kit_libs_video + media_kit_video: + git: + url: https://github.com/ashilkn/media-kit.git + ref: main + path: media_kit_video modal_bottom_sheet: ^3.0.0-pre motion_photos: git: "https://github.com/ente-io/motion_photo.git"