diff --git a/pubspec.lock b/pubspec.lock index 9b55c770b..812d1c1d6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -254,10 +254,11 @@ packages: camera_linux: dependency: "direct main" description: - name: camera_linux - sha256: "6ea08c23f643364e650e8fad73653747c049cbd00803a7c317132379ee3653ac" - url: "https://pub.dev" - source: hosted + path: "." + ref: ecb412474c5d240347b04ac1eb9f019802ff7034 + resolved-ref: ecb412474c5d240347b04ac1eb9f019802ff7034 + url: "https://github.com/cypherstack/camera-linux" + source: git version: "0.0.8" camera_macos: dependency: "direct main" diff --git a/scripts/app_config/templates/pubspec.template b/scripts/app_config/templates/pubspec.template index 9b4541240..6e31b1405 100644 --- a/scripts/app_config/templates/pubspec.template +++ b/scripts/app_config/templates/pubspec.template @@ -184,7 +184,11 @@ dependencies: calendar_date_picker2: ^1.0.2 sqlite3: 2.4.3 sqlite3_flutter_libs: 0.5.22 - camera_linux: ^0.0.8 +# camera_linux: ^0.0.8 + camera_linux: + git: + url: https://github.com/cypherstack/camera-linux + ref: ecb412474c5d240347b04ac1eb9f019802ff7034 zxing2: ^0.2.3 camera_windows: git: # TODO [prio=low]: Revert to official after https://github.com/flutter/packages/pull/7067.