Коммит e01ea22a создал по автору Зарубин Виталий Викторович's avatar Зарубин Виталий Викторович
Просмотр файлов

[image_picker_aurora][bug] Fix dependencies.

владелец b76486bc
......@@ -18,20 +18,23 @@ dependencies:
git:
url: https://gitlab.com/omprussia/flutter/packages.git
path: packages/image_picker_aurora
ref: aurora-image_picker_aurora-0.0.3
ref: aurora-image_picker_aurora-0.0.4
```
***.desktop**
```desktop
Permissions=UserDirs;Camera
Permissions=UserDirs;Camera;Videos;
```
***.spec**
```spec
%global __requires_exclude ^lib(gstreamer-1.0|yuv|ZXing|jpeg)\\.so.*$
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(streamcamera)
BuildRequires: pkgconfig(gstreamer-1.0)
```
By default, ImageSource.camera is not supported, since unlike on Android and iOS there is no system-provided UI for taking photos. However, the Aurora implementations allow delegating to a camera handler by setting a cameraDelegate before using image_picker.
......@@ -51,7 +54,7 @@ void main() {
...
Widget build(BuildContext context) {
// Put navigatorKey to MaterialApp
return MaterialApp(
return MaterialApp(
navigatorKey: navigatorKey,
);
}
......
%global __provides_exclude_from ^%{_datadir}/%{name}/lib/.*$
%global __requires_exclude ^lib(yuv|ZXing|jpeg|dconf|flutter-embedder|maliit-glib|.+_platform_plugin)\\.so.*$
%global __requires_exclude ^lib(gstreamer-1.0|yuv|ZXing|jpeg|dconf|flutter-embedder|maliit-glib|.+_platform_plugin)\\.so.*$
Name: ru.auroraos.image_picker_aurora_example
Summary: Demonstrates how to use the image_picker_aurora plugin.
......
......@@ -53,11 +53,11 @@ packages:
dependency: transitive
description:
path: "packages/camera_aurora"
ref: HEAD
resolved-ref: "1ef6342cdd0fa9b8868a0f5e769828dede431935"
ref: "aurora-camera_aurora-0.5.4"
resolved-ref: "06c4877dbcaeb609b398086082cdba009e0614aa"
url: "https://gitlab.com/omprussia/flutter/packages.git"
source: git
version: "0.5.3"
version: "0.5.4"
camera_avfoundation:
dependency: transitive
description:
......@@ -150,11 +150,11 @@ packages:
dependency: transitive
description:
path: "."
ref: "file_manager-1.1.0-aurora"
resolved-ref: "27ba3ca9aa9e2ac8bcfa646542ee5d69bb839eab"
url: "https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_manager"
ref: "aurora-1.1.2"
resolved-ref: "777cef958a32ccd3e7059fdd7fb22477b6b50abf"
url: "https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_manager.git"
source: git
version: "1.1.0"
version: "1.1.2"
file_selector:
dependency: transitive
description:
......@@ -175,11 +175,11 @@ packages:
dependency: transitive
description:
path: "."
ref: "file_selector_aurora-0.0.3"
resolved-ref: b94c0c10f274a40a4531889ba36246255cd7ee1c
url: "https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_selector_aurora"
ref: "aurora-0.0.5"
resolved-ref: d9bb80761724144f3d705d5618389d694b919ba7
url: "https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_selector_aurora.git"
source: git
version: "0.0.3"
version: "0.0.5"
file_selector_ios:
dependency: transitive
description:
......@@ -411,8 +411,8 @@ packages:
dependency: transitive
description:
path: "packages/path_provider_aurora"
ref: HEAD
resolved-ref: "1ef6342cdd0fa9b8868a0f5e769828dede431935"
ref: "aurora-path_provider_aurora-0.6.0"
resolved-ref: "82e13309171cb454aae989dbbde477282dfa7e20"
url: "https://gitlab.com/omprussia/flutter/packages.git"
source: git
version: "0.6.0"
......
......@@ -4,7 +4,7 @@
name: image_picker_aurora
description: Aurora implementation of the image_picker plugin.
version: 0.0.3
version: 0.0.4
repository: https://gitlab.com/omprussia/flutter/packages
publish_to: 'none'
......@@ -21,18 +21,20 @@ dependencies:
file_selector: ^1.0.3
file_selector_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_selector_aurora
ref: file_selector_aurora-0.0.3
url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/file_selector_aurora.git
ref: aurora-0.0.5
camera: ^0.10.5+5
camera_aurora:
git:
url: https://gitlab.com/omprussia/flutter/packages.git
path: packages/camera_aurora
ref: aurora-camera_aurora-0.5.4
path_provider: ^2.0.15
path_provider_aurora:
git:
url: https://gitlab.com/omprussia/flutter/packages.git
path: packages/path_provider_aurora
ref: aurora-path_provider_aurora-0.6.0
dev_dependencies:
flutter_test:
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать