diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-06-23 23:19:20 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-06-25 16:11:11 +0100 |
commit | 5c01d541208d32265d398e07085bcdf4606cc1f5 (patch) | |
tree | 442688b436d1938e2477e4014877ed65bf1f10ee /src | |
parent | ff7832d2cd9beb586987fb9619d0e734771583b6 (diff) |
libcamera: rename public libcamera dependency
Now that we have a libcamera_private, make the public only dependency
libcamera_public so that it is clear which interface is being linked.
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cam/meson.build | 2 | ||||
-rw-r--r-- | src/gstreamer/meson.build | 2 | ||||
-rw-r--r-- | src/lc-compliance/meson.build | 2 | ||||
-rw-r--r-- | src/libcamera/meson.build | 16 | ||||
-rw-r--r-- | src/qcam/meson.build | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build index 5e1a7f38..6234ed0a 100644 --- a/src/cam/meson.build +++ b/src/cam/meson.build @@ -21,7 +21,7 @@ cam_sources = files([ cam = executable('cam', cam_sources, dependencies : [ libatomic, - libcamera_dep, + libcamera_public, libevent, ], install : true) diff --git a/src/gstreamer/meson.build b/src/gstreamer/meson.build index 4d3afee4..77c79140 100644 --- a/src/gstreamer/meson.build +++ b/src/gstreamer/meson.build @@ -42,7 +42,7 @@ endif libcamera_gst = shared_library('gstlibcamera', libcamera_gst_sources, cpp_args : libcamera_gst_cpp_args, - dependencies : [libcamera_dep, gstvideo_dep, gstallocator_dep], + dependencies : [libcamera_public, gstvideo_dep, gstallocator_dep], install: true, install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')), ) diff --git a/src/lc-compliance/meson.build b/src/lc-compliance/meson.build index a2bfcceb..f3a7cbde 100644 --- a/src/lc-compliance/meson.build +++ b/src/lc-compliance/meson.build @@ -21,7 +21,7 @@ lc_compliance_sources = files([ lc_compliance = executable('lc-compliance', lc_compliance_sources, dependencies : [ libatomic, - libcamera_dep, + libcamera_public, libevent, ], install : true) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index d6905576..517e763d 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -132,20 +132,20 @@ libcamera = shared_library('libcamera', build_rpath : '/', dependencies : libcamera_deps) -libcamera_dep = declare_dependency(sources : [ - libcamera_ipa_headers, - libcamera_public_headers, - ], - include_directories : libcamera_includes, - dependencies : libcamera_base, - link_with : libcamera) +libcamera_public = declare_dependency(sources : [ + libcamera_ipa_headers, + libcamera_public_headers, + ], + include_directories : libcamera_includes, + dependencies : libcamera_base, + link_with : libcamera) # Internal dependency for components and plugins which can use private APIs libcamera_private = declare_dependency(sources : [ libcamera_generated_ipa_headers, ], dependencies : [ - libcamera_dep, + libcamera_public, libcamera_base_private, ]) diff --git a/src/qcam/meson.build b/src/qcam/meson.build index fad4cc95..7d3621c9 100644 --- a/src/qcam/meson.build +++ b/src/qcam/meson.build @@ -35,7 +35,7 @@ qcam_resources = files([ qcam_deps = [ libatomic, - libcamera_dep, + libcamera_public, qt5_dep, ] |