diff --git a/.github/workflows/test-dart.yaml b/.github/workflows/test-dart.yaml index 1516f632..58d50549 100644 --- a/.github/workflows/test-dart.yaml +++ b/.github/workflows/test-dart.yaml @@ -4,6 +4,7 @@ on: push: branches: - master + - dart paths: - '.github/workflows/test-dart.yaml' - '.github/scripts/test-dart.sh' diff --git a/.gitignore b/.gitignore index 6ed4a1b1..727d42c3 100644 --- a/.gitignore +++ b/.gitignore @@ -105,6 +105,7 @@ sherpa-onnx-kws-zipformer-wenetspeech-3.3M-2024-01-01 sherpa-onnx-ced-* node_modules package-lock.json +pubspec.lock sherpa-onnx-nemo-* sherpa-onnx-vits-* sherpa-onnx-telespeech-ctc-* diff --git a/dart-api-examples/add-punctuations/pubspec.yaml b/dart-api-examples/add-punctuations/pubspec.yaml index 91fde035..912d37ab 100644 --- a/dart-api-examples/add-punctuations/pubspec.yaml +++ b/dart-api-examples/add-punctuations/pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/dart-api-examples/audio-tagging/pubspec.yaml b/dart-api-examples/audio-tagging/pubspec.yaml index 69235c15..d127c26f 100644 --- a/dart-api-examples/audio-tagging/pubspec.yaml +++ b/dart-api-examples/audio-tagging/pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/dart-api-examples/keyword-spotter/pubspec.yaml b/dart-api-examples/keyword-spotter/pubspec.yaml index 7b78341c..057d83ad 100644 --- a/dart-api-examples/keyword-spotter/pubspec.yaml +++ b/dart-api-examples/keyword-spotter/pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/dart-api-examples/non-streaming-asr/pubspec.yaml b/dart-api-examples/non-streaming-asr/pubspec.yaml index 82c359d2..daf191e7 100644 --- a/dart-api-examples/non-streaming-asr/pubspec.yaml +++ b/dart-api-examples/non-streaming-asr/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/dart-api-examples/speaker-identification/pubspec.yaml b/dart-api-examples/speaker-identification/pubspec.yaml index bd3e3e5b..1a86a26a 100644 --- a/dart-api-examples/speaker-identification/pubspec.yaml +++ b/dart-api-examples/speaker-identification/pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/dart-api-examples/streaming-asr/pubspec.yaml b/dart-api-examples/streaming-asr/pubspec.yaml index b5c289eb..7f9cbdb5 100644 --- a/dart-api-examples/streaming-asr/pubspec.yaml +++ b/dart-api-examples/streaming-asr/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/dart-api-examples/tts/pubspec.yaml b/dart-api-examples/tts/pubspec.yaml index 89c648cf..9d9ed51d 100644 --- a/dart-api-examples/tts/pubspec.yaml +++ b/dart-api-examples/tts/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml index a08f811e..570bcba0 100644 --- a/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml +++ b/dart-api-examples/vad-with-non-streaming-asr/pubspec.yaml @@ -7,7 +7,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/dart-api-examples/vad/pubspec.yaml b/dart-api-examples/vad/pubspec.yaml index c670af7d..72a64fe0 100644 --- a/dart-api-examples/vad/pubspec.yaml +++ b/dart-api-examples/vad/pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: ^1.10.23 diff --git a/flutter-examples/.gitignore b/flutter-examples/.gitignore index c21169b3..ef41f0c4 100644 --- a/flutter-examples/.gitignore +++ b/flutter-examples/.gitignore @@ -136,3 +136,4 @@ app.*.symbols !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages !/dev/ci/**/Gemfile.lock !.vscode/settings.json +Podfile diff --git a/flutter-examples/streaming_asr/pubspec.lock b/flutter-examples/streaming_asr/pubspec.lock deleted file mode 100644 index 2e74e21f..00000000 --- a/flutter-examples/streaming_asr/pubspec.lock +++ /dev/null @@ -1,482 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - crypto: - dependency: transitive - description: - name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab - url: "https://pub.dev" - source: hosted - version: "3.0.3" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 - url: "https://pub.dev" - source: hosted - version: "1.0.8" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" - ffi: - dependency: transitive - description: - name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_lints: - dependency: "direct dev" - description: - name: flutter_lints - sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" - url: "https://pub.dev" - source: hosted - version: "10.0.4" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" - url: "https://pub.dev" - source: hosted - version: "3.0.3" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" - url: "https://pub.dev" - source: hosted - version: "3.0.1" - lints: - dependency: transitive - description: - name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 - url: "https://pub.dev" - source: hosted - version: "3.0.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb - url: "https://pub.dev" - source: hosted - version: "0.12.16+1" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" - url: "https://pub.dev" - source: hosted - version: "0.8.0" - meta: - dependency: transitive - description: - name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" - url: "https://pub.dev" - source: hosted - version: "1.12.0" - path: - dependency: "direct main" - description: - name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" - url: "https://pub.dev" - source: hosted - version: "1.9.0" - path_provider: - dependency: "direct main" - description: - name: path_provider - sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161 - url: "https://pub.dev" - source: hosted - version: "2.1.3" - path_provider_android: - dependency: transitive - description: - name: path_provider_android - sha256: bca87b0165ffd7cdb9cad8edd22d18d2201e886d9a9f19b4fb3452ea7df3a72a - url: "https://pub.dev" - source: hosted - version: "2.2.6" - path_provider_foundation: - dependency: transitive - description: - name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 - url: "https://pub.dev" - source: hosted - version: "2.4.0" - path_provider_linux: - dependency: transitive - description: - name: path_provider_linux - sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 - url: "https://pub.dev" - source: hosted - version: "2.2.1" - path_provider_platform_interface: - dependency: transitive - description: - name: path_provider_platform_interface - sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - path_provider_windows: - dependency: transitive - description: - name: path_provider_windows - sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" - url: "https://pub.dev" - source: hosted - version: "2.2.1" - platform: - dependency: transitive - description: - name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" - url: "https://pub.dev" - source: hosted - version: "3.1.5" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" - url: "https://pub.dev" - source: hosted - version: "2.1.8" - record: - dependency: "direct main" - description: - name: record - sha256: "78353d3d55fa145ffe1db1f63232ad0a0cd4c773e9f7d161210ce796ba1c94f9" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - record_android: - dependency: transitive - description: - name: record_android - sha256: fe83beefc8ac81b9dd02ca9365e8685755e3f12be1d442964082f1d5b618183d - url: "https://pub.dev" - source: hosted - version: "1.2.2" - record_darwin: - dependency: transitive - description: - name: record_darwin - sha256: "2210da0fde7c86b4048cccfe2cd19b25fc7adf1ada7d50ec4a5ab4af2a863739" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - record_linux: - dependency: transitive - description: - name: record_linux - sha256: "7d0e70cd51635128fe9d37d89bafd6011d7cbba9af8dc323079ae60f23546aef" - url: "https://pub.dev" - source: hosted - version: "0.7.1" - record_platform_interface: - dependency: transitive - description: - name: record_platform_interface - sha256: "11f8b03ea8a0e279b0e306571dbe0db0202c0b8e866495c9fa1ad2281d5e4c15" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - record_web: - dependency: transitive - description: - name: record_web - sha256: "703adb626d31e2dd86a8f6b34e306e03cd323e0c5e16e11bbc0385b07a8df97e" - url: "https://pub.dev" - source: hosted - version: "1.1.1" - record_windows: - dependency: transitive - description: - name: record_windows - sha256: e653555aa3fda168aded7c34e11bd82baf0c6ac84e7624553def3c77ffefd36f - url: "https://pub.dev" - source: hosted - version: "1.0.3" - sherpa_onnx: - dependency: "direct main" - description: - name: sherpa_onnx - sha256: b797a1297e1445d62ed73d23a044bd4407e9133f616b64339ba2d249f4b66743 - url: "https://pub.dev" - source: hosted - version: "1.10.2" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - sprintf: - dependency: transitive - description: - name: sprintf - sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" - url: "https://pub.dev" - source: hosted - version: "0.7.0" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - url_launcher: - dependency: "direct main" - description: - name: url_launcher - sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" - url: "https://pub.dev" - source: hosted - version: "6.3.0" - url_launcher_android: - dependency: transitive - description: - name: url_launcher_android - sha256: ceb2625f0c24ade6ef6778d1de0b2e44f2db71fded235eb52295247feba8c5cf - url: "https://pub.dev" - source: hosted - version: "6.3.3" - url_launcher_ios: - dependency: transitive - description: - name: url_launcher_ios - sha256: "7068716403343f6ba4969b4173cbf3b84fc768042124bc2c011e5d782b24fe89" - url: "https://pub.dev" - source: hosted - version: "6.3.0" - url_launcher_linux: - dependency: transitive - description: - name: url_launcher_linux - sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811 - url: "https://pub.dev" - source: hosted - version: "3.1.1" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - sha256: "9a1a42d5d2d95400c795b2914c36fdcb525870c752569438e4ebb09a2b5d90de" - url: "https://pub.dev" - source: hosted - version: "3.2.0" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" - url: "https://pub.dev" - source: hosted - version: "2.3.2" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - sha256: "8d9e750d8c9338601e709cd0885f95825086bd8b642547f26bda435aade95d8a" - url: "https://pub.dev" - source: hosted - version: "2.3.1" - url_launcher_windows: - dependency: transitive - description: - name: url_launcher_windows - sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 - url: "https://pub.dev" - source: hosted - version: "3.1.1" - uuid: - dependency: transitive - description: - name: uuid - sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" - url: "https://pub.dev" - source: hosted - version: "4.4.0" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" - url: "https://pub.dev" - source: hosted - version: "14.2.1" - web: - dependency: transitive - description: - name: web - sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" - url: "https://pub.dev" - source: hosted - version: "0.5.1" - win32: - dependency: transitive - description: - name: win32 - sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4 - url: "https://pub.dev" - source: hosted - version: "5.5.1" - xdg_directories: - dependency: transitive - description: - name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d - url: "https://pub.dev" - source: hosted - version: "1.0.4" -sdks: - dart: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" diff --git a/flutter-examples/streaming_asr/pubspec.yaml b/flutter-examples/streaming_asr/pubspec.yaml index bafe4068..7df47170 100644 --- a/flutter-examples/streaming_asr/pubspec.yaml +++ b/flutter-examples/streaming_asr/pubspec.yaml @@ -15,7 +15,8 @@ issue_tracker: https://github.com/k2-fsa/sherpa-onnx/issues repository: https://github.com/k2-fsa/sherpa-onnx/tree/master/sherpa-onnx/flutter environment: - sdk: '>=3.4.0 <4.0.0' + sdk: ">=2.17.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: @@ -32,7 +33,7 @@ dependencies: sherpa_onnx: ^1.10.23 # sherpa_onnx: - # path: ../../flutter/sherpa_onnx + # path: ../../flutter/sherpa_onnx dev_dependencies: flutter_test: diff --git a/flutter-examples/tts/pubspec.yaml b/flutter-examples/tts/pubspec.yaml index f9eb64da..2abfad30 100644 --- a/flutter-examples/tts/pubspec.yaml +++ b/flutter-examples/tts/pubspec.yaml @@ -8,7 +8,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.10.23 environment: - sdk: '>=3.4.0 <4.0.0' + sdk: ">=2.17.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: @@ -18,6 +19,8 @@ dependencies: path_provider: ^2.1.3 path: ^1.9.0 sherpa_onnx: ^1.10.23 + # sherpa_onnx: + # path: ../../flutter/sherpa_onnx url_launcher: ^6.2.6 audioplayers: ^5.0.0 diff --git a/flutter/sherpa_onnx/pubspec.yaml b/flutter/sherpa_onnx/pubspec.yaml index 10660799..45018c46 100644 --- a/flutter/sherpa_onnx/pubspec.yaml +++ b/flutter/sherpa_onnx/pubspec.yaml @@ -22,8 +22,8 @@ version: 1.10.23 homepage: https://github.com/k2-fsa/sherpa-onnx environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: ffi: ^2.1.0 diff --git a/flutter/sherpa_onnx_android/pubspec.yaml b/flutter/sherpa_onnx_android/pubspec.yaml index 2b4a10c0..cc2bbd52 100644 --- a/flutter/sherpa_onnx_android/pubspec.yaml +++ b/flutter/sherpa_onnx_android/pubspec.yaml @@ -21,8 +21,8 @@ topics: - voice-activity-detection environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: diff --git a/flutter/sherpa_onnx_ios/pubspec.yaml b/flutter/sherpa_onnx_ios/pubspec.yaml index 417c7a5a..34302b2f 100644 --- a/flutter/sherpa_onnx_ios/pubspec.yaml +++ b/flutter/sherpa_onnx_ios/pubspec.yaml @@ -21,8 +21,8 @@ topics: - voice-activity-detection environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: diff --git a/flutter/sherpa_onnx_linux/pubspec.yaml b/flutter/sherpa_onnx_linux/pubspec.yaml index 40aeb9a3..b1ef00bd 100644 --- a/flutter/sherpa_onnx_linux/pubspec.yaml +++ b/flutter/sherpa_onnx_linux/pubspec.yaml @@ -20,8 +20,8 @@ topics: - voice-activity-detection environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: diff --git a/flutter/sherpa_onnx_macos/pubspec.yaml b/flutter/sherpa_onnx_macos/pubspec.yaml index 72dc7134..f06b3a13 100644 --- a/flutter/sherpa_onnx_macos/pubspec.yaml +++ b/flutter/sherpa_onnx_macos/pubspec.yaml @@ -21,8 +21,8 @@ topics: - voice-activity-detection environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: diff --git a/flutter/sherpa_onnx_windows/pubspec.yaml b/flutter/sherpa_onnx_windows/pubspec.yaml index 8aed51e6..76f49133 100644 --- a/flutter/sherpa_onnx_windows/pubspec.yaml +++ b/flutter/sherpa_onnx_windows/pubspec.yaml @@ -21,8 +21,8 @@ topics: - voice-activity-detection environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" dependencies: flutter: diff --git a/scripts/dart/add-punctuations-pubspec.yaml b/scripts/dart/add-punctuations-pubspec.yaml index 886695ac..7f5c339c 100644 --- a/scripts/dart/add-punctuations-pubspec.yaml +++ b/scripts/dart/add-punctuations-pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: diff --git a/scripts/dart/audio-tagging-pubspec.yaml b/scripts/dart/audio-tagging-pubspec.yaml index 5b3b0afd..b7764008 100644 --- a/scripts/dart/audio-tagging-pubspec.yaml +++ b/scripts/dart/audio-tagging-pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: diff --git a/scripts/dart/kws-pubspec.yaml b/scripts/dart/kws-pubspec.yaml index 935b10e3..666b65e4 100644 --- a/scripts/dart/kws-pubspec.yaml +++ b/scripts/dart/kws-pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: diff --git a/scripts/dart/non-streaming-asr-pubspec.yaml b/scripts/dart/non-streaming-asr-pubspec.yaml index eaf65315..69420e00 100644 --- a/scripts/dart/non-streaming-asr-pubspec.yaml +++ b/scripts/dart/non-streaming-asr-pubspec.yaml @@ -5,7 +5,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/scripts/dart/sherpa-onnx-pubspec.yaml b/scripts/dart/sherpa-onnx-pubspec.yaml index c315f1cf..e2485ff1 100644 --- a/scripts/dart/sherpa-onnx-pubspec.yaml +++ b/scripts/dart/sherpa-onnx-pubspec.yaml @@ -22,8 +22,7 @@ version: 1.10.20 homepage: https://github.com/k2-fsa/sherpa-onnx environment: - sdk: '>=3.4.0 <4.0.0' - flutter: '>=3.3.0' + sdk: ">=3.0.0 <4.0.0" dependencies: ffi: ^2.1.0 diff --git a/scripts/dart/speaker-id-pubspec.yaml b/scripts/dart/speaker-id-pubspec.yaml index 00338fb3..342e2245 100644 --- a/scripts/dart/speaker-id-pubspec.yaml +++ b/scripts/dart/speaker-id-pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: diff --git a/scripts/dart/streaming-asr-pubspec.yaml b/scripts/dart/streaming-asr-pubspec.yaml index 1ad4cb5c..0805294d 100644 --- a/scripts/dart/streaming-asr-pubspec.yaml +++ b/scripts/dart/streaming-asr-pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/scripts/dart/tts-pubspec.yaml b/scripts/dart/tts-pubspec.yaml index c5364c41..78c88899 100644 --- a/scripts/dart/tts-pubspec.yaml +++ b/scripts/dart/tts-pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 # repository: https://github.com/my_org/my_repo environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" # Add regular dependencies here. dependencies: diff --git a/scripts/dart/vad-non-streaming-asr-pubspec.yaml b/scripts/dart/vad-non-streaming-asr-pubspec.yaml index 7c6804de..d91c843d 100644 --- a/scripts/dart/vad-non-streaming-asr-pubspec.yaml +++ b/scripts/dart/vad-non-streaming-asr-pubspec.yaml @@ -7,7 +7,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: diff --git a/scripts/dart/vad-pubspec.yaml b/scripts/dart/vad-pubspec.yaml index d43465ff..e184e82d 100644 --- a/scripts/dart/vad-pubspec.yaml +++ b/scripts/dart/vad-pubspec.yaml @@ -6,7 +6,7 @@ description: > version: 1.0.0 environment: - sdk: ^3.4.0 + sdk: ">=3.0.0 <4.0.0" dependencies: sherpa_onnx: