From 264a219740de3e317442e957cb5d9647c776090b Mon Sep 17 00:00:00 2001 From: Vitaliy Zarubin Date: Mon, 30 Oct 2023 14:27:39 +0300 Subject: [PATCH] [camera] Update dependency --- packages/camera/camera_aurora/README.md | 7 +------ packages/camera/camera_aurora/aurora/CMakeLists.txt | 2 -- .../aurora/include/camera_aurora/camera_aurora_plugin.h | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/camera/camera_aurora/README.md b/packages/camera/camera_aurora/README.md index a3d2449..69b2110 100644 --- a/packages/camera/camera_aurora/README.md +++ b/packages/camera/camera_aurora/README.md @@ -9,12 +9,7 @@ Therefore, you have to include `camera_aurora` alongside `camera` as dependencie ***.desktop** ```desktop -Permissions=Sensors -``` -***.spec** - -```spec -BuildRequires: pkgconfig(streamcamera) +Permissions=Camera ``` **pubspec.yaml** diff --git a/packages/camera/camera_aurora/aurora/CMakeLists.txt b/packages/camera/camera_aurora/aurora/CMakeLists.txt index 8a65b15..b4792c1 100644 --- a/packages/camera/camera_aurora/aurora/CMakeLists.txt +++ b/packages/camera/camera_aurora/aurora/CMakeLists.txt @@ -16,7 +16,6 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3") find_package(PkgConfig REQUIRED) find_package(Qt5 COMPONENTS Core Multimedia REQUIRED) -pkg_check_modules(StreamCamera REQUIRED IMPORTED_TARGET streamcamera) pkg_check_modules(FlutterEmbedder REQUIRED IMPORTED_TARGET flutter-embedder) add_library(${PLUGIN_NAME} SHARED @@ -26,7 +25,6 @@ add_library(${PLUGIN_NAME} SHARED set_target_properties(${PLUGIN_NAME} PROPERTIES CXX_VISIBILITY_PRESET hidden AUTOMOC ON) target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::FlutterEmbedder) -target_link_libraries(${PLUGIN_NAME} PUBLIC PkgConfig::StreamCamera) target_link_libraries(${PLUGIN_NAME} PUBLIC Qt5::Core Qt5::Multimedia) target_include_directories(${PLUGIN_NAME} PRIVATE ${FLUTTER_DIR}) diff --git a/packages/camera/camera_aurora/aurora/include/camera_aurora/camera_aurora_plugin.h b/packages/camera/camera_aurora/aurora/include/camera_aurora/camera_aurora_plugin.h index 51c89a0..7a8fe9f 100644 --- a/packages/camera/camera_aurora/aurora/include/camera_aurora/camera_aurora_plugin.h +++ b/packages/camera/camera_aurora/aurora/include/camera_aurora/camera_aurora_plugin.h @@ -8,9 +8,6 @@ #include #include -#include -#include - #include #include #include