From 5c01d541208d32265d398e07085bcdf4606cc1f5 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 23 Jun 2021 23:19:20 +0100 Subject: 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 Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/cam/meson.build | 2 +- src/gstreamer/meson.build | 2 +- src/lc-compliance/meson.build | 2 +- src/libcamera/meson.build | 16 ++++++++-------- src/qcam/meson.build | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src') 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, ] -- cgit v1.2.1