From bdca9ab14ef3198b635af6043fc1d7e31be79f51 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 24 Jun 2021 14:41:15 +0100 Subject: libcamera: Move libcamera.so pkg-config file generation The pkg-config file for the main libcamera.so is generated at the top level meson.build. Move this to the actual core libcamera build structure to be consistent and keep it next to the library construction. Reviewed-by: Paul Elder Reviewed-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/libcamera/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index d9b5bfae..e4c60e73 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -156,4 +156,12 @@ libcamera_dep = declare_dependency(sources : [ include_directories : libcamera_includes, link_with : libcamera) +pkg_mod = import('pkgconfig') +pkg_mod.generate(libraries: libcamera, + version : '1.0', + name : 'libcamera', + filebase : 'camera', + description : 'Complex Camera Support Library', + subdirs : 'libcamera') + subdir('proxy/worker') -- cgit v1.2.1