2021-08-06 11:30:27 +08:00
|
|
|
name: flutter_hbb
|
|
|
|
description: Your Remote Desktop Software
|
|
|
|
|
|
|
|
# The following line prevents the package from being accidentally published to
|
|
|
|
# pub.dev using `pub publish`. This is preferred for private packages.
|
2022-05-31 16:28:12 +08:00
|
|
|
publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
2021-08-06 11:30:27 +08:00
|
|
|
|
|
|
|
# The following defines the version and build number for your application.
|
|
|
|
# A version number is three numbers separated by dots, like 1.2.43
|
|
|
|
# followed by an optional build number separated by a +.
|
|
|
|
# Both the version and the builder number may be overridden in flutter
|
|
|
|
# build by specifying --build-name and --build-number, respectively.
|
|
|
|
# In Android, build-name is used as versionName while build-number used as versionCode.
|
|
|
|
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
|
|
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
|
|
|
# Read more about iOS versioning at
|
|
|
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
2022-05-16 00:01:27 +08:00
|
|
|
# 1.1.9-1 works for android, but for ios it becomes 1.1.91, need to set it to 1.1.9-a.1 for iOS, will get 1.1.9.1, but iOS store not allow 4 numbers
|
2024-09-21 11:22:33 +08:00
|
|
|
version: 1.3.1+48
|
2021-08-06 11:30:27 +08:00
|
|
|
|
|
|
|
environment:
|
2023-10-31 21:10:23 +08:00
|
|
|
sdk: '^3.1.0'
|
2021-08-06 11:30:27 +08:00
|
|
|
|
|
|
|
dependencies:
|
2023-02-23 06:17:33 +08:00
|
|
|
flutter:
|
|
|
|
sdk: flutter
|
|
|
|
flutter_localizations:
|
|
|
|
sdk: flutter
|
2023-02-23 06:01:31 +08:00
|
|
|
|
2023-10-31 21:10:23 +08:00
|
|
|
ffi: ^2.1.0
|
|
|
|
path_provider: ^2.1.1
|
|
|
|
external_path: ^1.0.3
|
|
|
|
provider: ^6.0.5
|
2023-02-23 06:17:33 +08:00
|
|
|
tuple: ^2.0.0
|
2023-10-31 21:10:23 +08:00
|
|
|
wakelock_plus: ^1.1.3
|
2023-02-23 06:17:33 +08:00
|
|
|
#firebase_analytics: ^9.1.5
|
2023-10-31 21:10:23 +08:00
|
|
|
package_info_plus: ^4.2.0
|
|
|
|
url_launcher: ^6.2.1
|
2023-05-12 14:20:17 +08:00
|
|
|
toggle_switch: ^2.1.0
|
2024-06-21 01:29:00 +08:00
|
|
|
dash_chat_2:
|
|
|
|
git:
|
|
|
|
url: https://github.com/rustdesk-org/Dash-Chat-2
|
2023-10-31 21:10:23 +08:00
|
|
|
draggable_float_widget: ^0.1.0
|
2023-02-23 06:17:33 +08:00
|
|
|
settings_ui: ^2.0.2
|
|
|
|
flutter_breadcrumb: ^1.0.1
|
2023-10-31 21:10:23 +08:00
|
|
|
http: ^1.1.0
|
2023-02-23 06:17:33 +08:00
|
|
|
qr_code_scanner: ^1.0.0
|
2023-05-11 14:26:59 +08:00
|
|
|
zxing2: ^0.2.0
|
2023-02-23 06:17:33 +08:00
|
|
|
image_picker: ^0.8.5
|
2023-05-11 14:26:59 +08:00
|
|
|
image: ^4.0.17
|
2023-02-23 06:17:33 +08:00
|
|
|
back_button_interceptor: ^6.0.1
|
2023-11-01 17:04:32 +08:00
|
|
|
flutter_rust_bridge: "1.80.1"
|
2023-02-23 06:17:33 +08:00
|
|
|
window_manager:
|
2023-05-24 00:17:40 +08:00
|
|
|
git:
|
2023-06-03 19:02:52 +08:00
|
|
|
url: https://github.com/rustdesk-org/window_manager
|
2023-02-23 06:17:33 +08:00
|
|
|
desktop_multi_window:
|
|
|
|
git:
|
2023-06-03 19:27:24 +08:00
|
|
|
url: https://github.com/rustdesk-org/rustdesk_desktop_multi_window
|
2023-02-23 06:17:33 +08:00
|
|
|
freezed_annotation: ^2.0.3
|
|
|
|
flutter_custom_cursor: ^0.0.4
|
|
|
|
window_size:
|
|
|
|
git:
|
|
|
|
url: https://github.com/google/flutter-desktop-embedding.git
|
|
|
|
path: plugins/window_size
|
|
|
|
ref: a738913c8ce2c9f47515382d40827e794a334274
|
|
|
|
get: ^4.6.5
|
2023-05-11 14:26:59 +08:00
|
|
|
visibility_detector: ^0.4.0+2
|
2023-02-23 06:17:33 +08:00
|
|
|
contextmenu: ^3.0.0
|
2023-11-01 15:07:29 +08:00
|
|
|
desktop_drop: ^0.4.4
|
2023-05-11 14:26:59 +08:00
|
|
|
scroll_pos: ^0.4.0
|
2023-02-23 06:17:33 +08:00
|
|
|
debounce_throttle: ^2.0.0
|
|
|
|
file_picker: ^5.1.0
|
2023-05-11 14:26:59 +08:00
|
|
|
flutter_svg: ^2.0.5
|
2023-02-23 06:17:33 +08:00
|
|
|
flutter_improved_scrolling:
|
2023-05-12 17:07:33 +08:00
|
|
|
# currently, we use flutter 3.10.0+.
|
2023-02-23 06:17:33 +08:00
|
|
|
#
|
|
|
|
# for flutter 3.0.5, please use official version(just comment code below).
|
|
|
|
# if build rustdesk by flutter >=3.3, please use our custom pub below (uncomment code below).
|
|
|
|
git:
|
2023-06-03 19:27:24 +08:00
|
|
|
url: https://github.com/rustdesk-org/flutter_improved_scrolling
|
2023-02-23 06:17:33 +08:00
|
|
|
uni_links: ^0.5.1
|
2024-07-12 18:07:27 +08:00
|
|
|
uni_links_desktop: ^0.1.6 # use 0.1.6 to make flutter 3.13 works
|
2023-02-23 06:17:33 +08:00
|
|
|
path: ^1.8.1
|
|
|
|
auto_size_text: ^3.0.0
|
|
|
|
bot_toast: ^4.0.3
|
|
|
|
win32: any
|
|
|
|
password_strength: ^0.2.0
|
2023-05-11 14:26:59 +08:00
|
|
|
flutter_launcher_icons: ^0.13.1
|
2023-02-23 06:17:33 +08:00
|
|
|
flutter_keyboard_visibility: ^5.4.0
|
2023-03-27 12:12:49 +08:00
|
|
|
texture_rgba_renderer: ^0.0.16
|
2023-02-23 06:17:33 +08:00
|
|
|
percent_indicator: ^4.2.2
|
2023-03-08 23:40:35 +08:00
|
|
|
dropdown_button2: ^2.0.0
|
2024-01-02 16:58:10 +08:00
|
|
|
flutter_gpu_texture_renderer:
|
|
|
|
git:
|
2024-07-31 17:25:10 +08:00
|
|
|
url: https://github.com/rustdesk-org/flutter_gpu_texture_renderer
|
fix qsv memory leak by updating ffmpeg (#9266)
* fix qsv memory leak by updating ffmpeg
* Memory leaks occur when destroying FFmpeg QSV VRAM encoders. This issue is resolved with FFmpeg version 7.
* FFmpeg requires ffnvcodec version 12.1.14.0 or higher, and an NVIDIA driver version greater than 530. For more details, https://github.com/FFmpeg/nv-codec-headers/tree/n12.1.14.0.
* The code of NVIDIA VRAM encoder is not changed, still use Video Codec SDK version 11, which is unaffected by FFmpeg. Drivers newer than 470 can support this, but we may consider an update later, as the support check by sdk code may not be accurate for FFmpeg RAM encoders.
* The issue is related to FFmpeg, not libmfx. FFmpeg version 7 recommends using libvpl, but vcpkg currently lacks ports for libvpl. We can add these in the future.
* D3D11 Texture Rendering: The "Shared GPU Memory" in the task manager continue increasing when using D3D11 texture render, which can exceed the GPU memory limit (e.g., reaching up to 100GB). I don't know what it is and will try to find it out.
* Roughly tests on Windows, Linux, macOS, and Android for quick fix. Further testing will be performed, and I will share the results in this pr.
Signed-off-by: 21pages <sunboeasy@gmail.com>
* update flutter_gpu_texture_render, fix shared gpu memory leak while
rendering
Signed-off-by: 21pages <sunboeasy@gmail.com>
---------
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-09-07 10:20:52 +08:00
|
|
|
ref: 2ded7f146437a761ffe6981e2f742038f85ca68d
|
2023-06-06 07:39:44 +08:00
|
|
|
uuid: ^3.0.7
|
2023-07-10 21:03:35 +08:00
|
|
|
auto_size_text_field: ^2.2.1
|
2023-08-22 19:07:01 +08:00
|
|
|
flex_color_picker: ^3.3.0
|
2023-09-19 15:01:16 +08:00
|
|
|
dynamic_layouts:
|
|
|
|
git:
|
2024-07-31 17:25:10 +08:00
|
|
|
url: https://github.com/rustdesk-org/dynamic_layouts.git
|
2023-09-26 19:58:51 +08:00
|
|
|
ref: 24cb88413fa5181d949ddacbb30a65d5c459e7d9
|
2023-10-02 19:32:28 +08:00
|
|
|
pull_down_button: ^0.9.3
|
2023-10-31 21:10:23 +08:00
|
|
|
device_info_plus: ^9.1.0
|
2024-01-19 15:35:58 +08:00
|
|
|
qr_flutter: ^4.1.0
|
2024-08-25 20:46:21 +08:00
|
|
|
extended_text: 13.0.0
|
2021-08-06 11:30:27 +08:00
|
|
|
|
|
|
|
dev_dependencies:
|
2023-02-23 06:01:31 +08:00
|
|
|
icons_launcher: ^2.0.4
|
|
|
|
#flutter_test:
|
|
|
|
#sdk: flutter
|
2023-08-18 12:09:52 +08:00
|
|
|
build_runner: ^2.4.6
|
|
|
|
freezed: ^2.4.2
|
|
|
|
flutter_lints: ^2.0.2
|
2023-11-01 17:14:44 +08:00
|
|
|
ffigen: ^8.0.2
|
2022-08-26 12:00:53 +08:00
|
|
|
|
2024-06-21 12:33:05 +08:00
|
|
|
dependency_overrides:
|
|
|
|
intl: ^0.19.0
|
|
|
|
|
2023-02-07 21:04:50 +08:00
|
|
|
# rerun: flutter pub run flutter_launcher_icons
|
|
|
|
flutter_icons:
|
2023-02-23 06:01:31 +08:00
|
|
|
image_path: "../res/icon.png"
|
|
|
|
remove_alpha_ios: true
|
|
|
|
android: true
|
|
|
|
ios: true
|
|
|
|
windows:
|
|
|
|
generate: true
|
|
|
|
macos:
|
|
|
|
image_path: "../res/mac-icon.png"
|
|
|
|
generate: true
|
|
|
|
linux: true
|
|
|
|
web:
|
|
|
|
generate: true
|
2021-08-06 11:30:27 +08:00
|
|
|
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
|
|
|
|
# The following section is specific to Flutter.
|
|
|
|
flutter:
|
2023-02-23 06:01:31 +08:00
|
|
|
# The following line ensures that the Material Icons font is
|
|
|
|
# included with your application, so that you can use the icons in
|
|
|
|
# the material Icons class.
|
|
|
|
uses-material-design: true
|
|
|
|
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
|
|
|
assets:
|
|
|
|
- assets/
|
|
|
|
|
|
|
|
fonts:
|
|
|
|
- family: GestureIcons
|
|
|
|
fonts:
|
|
|
|
- asset: assets/gestures.ttf
|
|
|
|
- family: Tabbar
|
|
|
|
fonts:
|
|
|
|
- asset: assets/tabbar.ttf
|
|
|
|
- family: PeerSearchbar
|
|
|
|
fonts:
|
|
|
|
- asset: assets/peer_searchbar.ttf
|
2023-06-21 16:04:52 +08:00
|
|
|
- family: AddressBook
|
|
|
|
fonts:
|
|
|
|
- asset: assets/address_book.ttf
|
2023-02-23 06:01:31 +08:00
|
|
|
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
|
|
# https://flutter.dev/assets-and-images/#resolution-aware.
|
|
|
|
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
|
|
# https://flutter.dev/assets-and-images/#from-packages
|
|
|
|
|
|
|
|
# To add custom fonts to your application, add a fonts section here,
|
|
|
|
# in this "flutter" section. Each entry in this list should have a
|
|
|
|
# "family" key with the font family name, and a "fonts" key with a
|
|
|
|
# list giving the asset and other descriptors for the font. For
|
|
|
|
# example:
|
|
|
|
# fonts:
|
|
|
|
# - family: Schyler
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
|
|
# style: italic
|
|
|
|
# - family: Trajan Pro
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/TrajanPro.ttf
|
|
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
|
|
# weight: 700
|
|
|
|
#
|
|
|
|
# For details regarding fonts from package dependencies,
|
|
|
|
# see https://flutter.dev/custom-fonts/#from-packages
|