Refactor flutter to support Android (#1072)
This commit is contained in:
@@ -10,7 +10,7 @@ environment:
|
||||
# Add regular dependencies here.
|
||||
dependencies:
|
||||
sherpa_onnx:
|
||||
path: ../../sherpa-onnx/flutter
|
||||
path: ../../flutter/sherpa_onnx
|
||||
|
||||
path: ^1.9.0
|
||||
args: ^2.5.0
|
||||
|
||||
58
scripts/dart/sherpa-onnx-pubspec.yaml
Normal file
58
scripts/dart/sherpa-onnx-pubspec.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
name: sherpa_onnx
|
||||
|
||||
description: >
|
||||
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi
|
||||
with onnxruntime without Internet connection.
|
||||
|
||||
repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/sherpa-onnx/flutter
|
||||
|
||||
issue_tracker: https://github.com/k2-fsa/sherpa-onnx/issues
|
||||
documentation: https://k2-fsa.github.io/sherpa/onnx/
|
||||
|
||||
topics:
|
||||
- speech-recognition
|
||||
- speech-synthesis
|
||||
- speaker-identification
|
||||
- audio-tagging
|
||||
- voice-activity-detection
|
||||
|
||||
# remember to change the version in ../sherpa_onnx_macos/macos/sherpa_onnx.podspec
|
||||
version: 1.10.6
|
||||
|
||||
homepage: https://github.com/k2-fsa/sherpa-onnx
|
||||
|
||||
environment:
|
||||
sdk: '>=3.4.0 <4.0.0'
|
||||
flutter: '>=3.3.0'
|
||||
|
||||
dependencies:
|
||||
ffi: ^2.1.0
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
sherpa_onnx_android:
|
||||
path: ../sherpa_onnx_android
|
||||
|
||||
sherpa_onnx_macos:
|
||||
path: ../sherpa_onnx_macos
|
||||
|
||||
sherpa_onnx_linux:
|
||||
path: ../sherpa_onnx_linux
|
||||
|
||||
sherpa_onnx_windows:
|
||||
path: ../sherpa_onnx_windows
|
||||
|
||||
flutter:
|
||||
plugin:
|
||||
platforms:
|
||||
android:
|
||||
default_package: sherpa_onnx_android
|
||||
|
||||
macos:
|
||||
default_package: sherpa_onnx_macos
|
||||
|
||||
linux:
|
||||
default_package: sherpa_onnx_linux
|
||||
|
||||
windows:
|
||||
default_package: sherpa_onnx_windows
|
||||
@@ -12,7 +12,8 @@ environment:
|
||||
# Add regular dependencies here.
|
||||
dependencies:
|
||||
sherpa_onnx:
|
||||
path: ../../sherpa-onnx/flutter
|
||||
path: ../../flutter/sherpa_onnx
|
||||
|
||||
path: ^1.9.0
|
||||
args: ^2.5.0
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ environment:
|
||||
# Add regular dependencies here.
|
||||
dependencies:
|
||||
sherpa_onnx:
|
||||
path: ../../sherpa-onnx/flutter
|
||||
path: ../../flutter/sherpa_onnx
|
||||
|
||||
path: ^1.9.0
|
||||
args: ^2.5.0
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@ environment:
|
||||
|
||||
dependencies:
|
||||
sherpa_onnx:
|
||||
path: ../../sherpa-onnx/flutter
|
||||
path: ../../flutter/sherpa_onnx
|
||||
|
||||
path: ^1.9.0
|
||||
args: ^2.5.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user