mod: media_kit依赖

This commit is contained in:
guozhigq
2024-02-02 23:12:04 +08:00
parent e24ccc16fa
commit 6f62837495
2 changed files with 47 additions and 15 deletions

View File

@ -848,10 +848,11 @@ packages:
media_kit:
dependency: "direct main"
description:
name: media_kit
sha256: "3289062540e3b8b9746e5c50d95bd78a9289826b7227e253dff806d002b9e67a"
url: "https://pub.flutter-io.cn"
source: hosted
path: media_kit
ref: main
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48"
url: "https://github.com/media-kit/media-kit.git"
source: git
version: "1.1.10+1"
media_kit_libs_android_video:
dependency: transitive
@ -888,10 +889,11 @@ packages:
media_kit_libs_video:
dependency: "direct main"
description:
name: media_kit_libs_video
sha256: "3688e0c31482074578652bf038ce6301a5d21e1eda6b54fc3117ffeb4bdba067"
url: "https://pub.flutter-io.cn"
source: hosted
path: "libs/universal/media_kit_libs_video"
ref: main
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48"
url: "https://github.com/media-kit/media-kit.git"
source: git
version: "1.0.4"
media_kit_libs_windows_video:
dependency: transitive
@ -912,10 +914,11 @@ packages:
media_kit_video:
dependency: "direct main"
description:
name: media_kit_video
sha256: c048d11a19e379aebbe810647636e3fc6d18374637e2ae12def4ff8a4b99a882
url: "https://pub.flutter-io.cn"
source: hosted
path: media_kit_video
ref: main
resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48"
url: "https://github.com/media-kit/media-kit.git"
source: git
version: "1.2.4"
meta:
dependency: transitive

View File

@ -85,9 +85,21 @@ dependencies:
encrypt: ^5.0.3
# 视频播放器
media_kit: ^1.1.10 # Primary package.
media_kit_video: ^1.2.4 # For video rendering.
media_kit_libs_video: ^1.0.4
media_kit:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./media_kit
media_kit_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./media_kit_video
media_kit_libs_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./libs/universal/media_kit_libs_video
# 媒体通知
audio_service: ^0.18.12
@ -156,6 +168,23 @@ dev_dependencies:
hive_generator: ^2.0.0
build_runner: ^2.3.3
dependency_overrides:
media_kit:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./media_kit
media_kit_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./media_kit_video
media_kit_libs_video:
git:
url: https://github.com/media-kit/media-kit.git
ref: main
path: ./libs/universal/media_kit_libs_video
flutter_launcher_icons:
android: true
ios: true