forked from Jackiu1997/pure_live
-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathpubspec.yaml
More file actions
266 lines (246 loc) · 8.79 KB
/
pubspec.yaml
File metadata and controls
266 lines (246 loc) · 8.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
name: pure_live
description: 纯粹直播,一款开源的第三方多平台直播聚合播放器.
publish_to: none
version: 2.0.17+28
environment:
sdk: ^3.10.4
# 主依赖
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
hashlib: ^2.0.0 # 哈希计算工具
crypto: ^3.0.7 # 加密解密工具库
crypto_simple: ^3.0.0 # 简易加密工具
uuid: ^4.5.3 # 生成唯一标识符
html_unescape: ^2.0.0 # HTML转义字符解码
brotli: ^0.6.0 # Brotli压缩解压
# -------------------------- 网络请求/网络状态 --------------------------
http: ^1.1.0 # 基础HTTP请求
dio: ^5.9.0 # 强大的Dart HTTP客户端
dio_cookie_manager: ^3.3.0 # Dio的Cookie管理插件
cookie_jar: ^4.0.8 # Cookie持久化存储
web_socket_channel: ^3.0.1 # WebSocket通信
connectivity_plus: 6.1.1 # 网络连接状态监听
webdav_client: ^1.2.2 # WebDAV文件存储客户端
supabase_flutter: ^2.10.3 # Supabase客户端
email_validator: ^3.0.0
# -------------------------- 音视频播放 --------------------------
media_kit:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./media_kit
media_kit_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./media_kit_video
media_kit_libs_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/universal/media_kit_libs_video
better_player_plus: ^1.2.1 # 高级视频播放器
audio_service: ^0.18.18 # 后台音频服务
audio_session: ^0.2.3 # 音频会话管理
ffmpeg_kit_extended_flutter:
git:
url: https://github.com/akashskypatel/ffmpeg-kit-extended
path: flutter
ref: dev
flv_lzc:
git: https://github.com/liuchuancong/flv_lzc.git # ijk视频解析
# -------------------------- UI组件/界面样式 --------------------------
flutter_svg: ^2.2.1 # SVG图片渲染
cached_network_image: ^3.3.0 # 网络图片缓存
dynamic_color: ^1.8.1 # 动态主题色
waterfall_flow: ^3.1.1 # 瀑布流布局
easy_refresh: ^3.4.0 # 下拉刷新/上拉加载
flutter_smart_dialog: ^4.9.5 # 自定义弹窗
flex_color_picker: ^3.7.2 # 颜色选择器
bordered_text: ^2.0.0 # 带边框文字
flutter_color: ^2.1.0 # 颜色工具
syncfusion_flutter_sliders: ^33.2.5 # 滑块组件
markdown_widget: ^2.3.2+8 # Markdown渲染
# -------------------------- 图标/字体 --------------------------
font_awesome_flutter: ^10.6.0 # Font Awesome图标
remixicon: ^1.2.0 # Remix图标库
google_fonts: ^6.3.3 # 谷歌字体
# -------------------------- 窗口/桌面端控制 --------------------------
window_manager: ^0.5.1 # 桌面端窗口管理
tray_manager: ^0.5.2 # 系统托盘管理
flutter_acrylic: ^1.1.4 # 亚克力毛玻璃效果
screen_retriever:
git:
url: https://github.com/MSOB7YY/screen_retriever.git
path: ./packages/screen_retriever
ref: main
win32: ^5.15.0 # Windows系统API
# -------------------------- 设备/系统权限/硬件 --------------------------
screen_brightness: ^2.1.2 # 屏幕亮度控制
volume_controller: ^3.4.4 # 音量控制
wakelock_plus: ^1.4.0 # 保持屏幕常亮
battery_plus: ^7.0.0 # 电池状态获取
permission_handler: ^12.0.1 # 权限管理
device_info_plus: ^12.2.0 # 设备信息
auto_orientation_v2: ^2.3.6 # 屏幕自动旋转
mobile_scanner: ^7.1.3 # 二维码扫描
# -------------------------- 数据存储/数据库 --------------------------
hive_ce: ^2.15.1 # Hive本地数据库
hive_ce_flutter: ^2.3.3 # Hive Flutter集成
flutter_cache_manager: ^3.4.1 # 通用缓存管理
# -------------------------- 文件/路径/存储 --------------------------
path_provider: ^2.1.5 # 获取文件路径
path: ^1.9.1 # 路径处理
file: ^7.0.1 # 文件操作
file_picker: ^11.0.2 # 文件选择器
uri_to_file: ^1.0.0 # URI转文件
open_filex: ^4.7.0 # 打开本地文件
mime: ^2.0.0 # MIME类型处理
# -------------------------- 工具/通用库 --------------------------
get: ^5.0.0-release-candidate-9.3.2 # 状态管理/路由
timezone: ^0.10.1 # 时区处理
date_format: ^2.0.9 # 日期格式化
logger: ^2.6.2 # 日志打印
quiver: ^3.2.1 # 实用工具集
ffi: ^2.2.0 # 本地代码交互
rxdart: ^0.28.0 # 响应式编程
pinyindart: ^0.0.1 # 汉字转拼音
dart_sm: ^0.1.5 # 工具库
# -------------------------- 网页/JS解析 --------------------------
flutter_js: ^0.8.5 # JS引擎执行
html: ^0.15.4 # HTML解析
flutter_inappwebview: ^6.2.0-beta.2 # 内置浏览器
dart_quickjs:
git: https://github.com/xiaoyaocz/dart_quickjs.git # QuickJS引擎
# -------------------------- 直播协议/定制SDK --------------------------
protobuf: ^6.0.0 # Protocol Buffers
fixnum: ^1.1.0 # 固定精度数字
dlna_dart: ^0.1.0 # DLNA投屏
dart_tars_protocol:
git: https://github.com/xiaoyaocz/dart_tars_protocol.git
tars_dart:
git:
url: https://github.com/xiaoyaocz/dart_simple_live.git
path: ./simple_live_core/packages/tars_dart
# -------------------------- 功能组件 --------------------------
url_launcher: ^6.1.12 # 打开外部链接
share_handler: ^0.0.25 # 分享功能
animated_splash_plus: ^1.0.3 # 启动动画
flutter_exit_app: ^2.0.0 # 退出应用
move_to_desktop: ^0.0.2 # 移动到桌面
package_info_plus: ^9.0.1 # 应用包信息
stop_watch_timer: ^3.2.2 # 计时器
floating: ^6.0.0 # 悬浮窗
flutter_floating: ^2.0.1 # 悬浮窗
qr_flutter: ^4.1.0 # 二维码生成
back_button_interceptor: ^8.0.4 # 返回键拦截
easy_localization: ^3.0.8 #多语言
# 依赖覆盖(强制指定版本)
dependency_overrides:
wakelock_plus: ^1.4.0
media_kit:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./media_kit
media_kit_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./media_kit_video
media_kit_libs_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/universal/media_kit_libs_video
media_kit_libs_linux:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/linux/media_kit_libs_linux
media_kit_libs_ios_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/ios/media_kit_libs_ios_video
media_kit_libs_android_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/android/media_kit_libs_android_video
media_kit_libs_windows_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/windows/media_kit_libs_windows_video
media_kit_libs_macos_video:
git:
url: https://github.com/Predidit/media-kit.git
ref: main
path: ./libs/macos/media_kit_libs_macos_video
screen_retriever:
git:
url: https://github.com/MSOB7YY/screen_retriever.git
path: ./packages/screen_retriever
ref: main
# 开发依赖
dev_dependencies:
flutter_test:
sdk: flutter
change_app_package_name: any # 修改应用包名
json_serializable: ^6.7.1 # JSON序列化
build_runner: ^2.3.3 # 代码生成器
flutter_launcher_icons: ^0.14.4 # 应用图标生成
msix: ^3.16.12 # Windows安装包打包
intl_utils: ^2.8.11 # 国际化工具
flutter_lints: ^6.0.0 # 代码规范检查
dmg: ^0.1.7 # macOS安装包打包
# 应用图标配置
flutter_icons:
android: "ic_launcher"
ios: true
remove_alpha_ios: true
image_path: assets/icons/icon.png
adaptive_icon_background: "#FFFFFF"
adaptive_icon_foreground: assets/icons/icon_foreground.png
min_sdk_android: 21
windows:
generate: true
image_path: assets/icons/icon.png
icon_size: 48
macos:
generate: true
image_path: assets/icons/icon.png
# Flutter核心配置
flutter:
uses-material-design: true
# 资源文件
assets:
- assets/
- assets/images/
- assets/images/video/
- assets/icons/
- assets/keystore/
- assets/version.json
- assets/emo/huya/
- assets/emo/douyu/
- assets/emo/douyin/
- assets/emo/bilibili/
- assets/emo/kuaishou/
- assets/translations/
# 字体配置
fonts:
- family: CustomIcons
fonts:
- asset: assets/icons/CustomIcons.ttf
- family: PingFang
fonts:
- asset: assets/PingFangSC.ttf
# FFmpeg配置
ffmpeg_kit_extended_config:
windows: https://github.com/akashskypatel/ffmpeg-kit-builders/releases/download/v0.10.2-windows/bundle-base-windows-x86_64-shared-lgpl.zip
android: https://github.com/akashskypatel/ffmpeg-kit-builders/releases/download/v0.10.2-android/bundle-base-shared-lgpl-release.aar
macos: https://github.com/akashskypatel/ffmpeg-kit-builders/releases/download/v0.10.2-macos/bundle-base-macos-universal-lgpl.xcframework.zip