libcamera: virtual: Install configuration file

Install the example configuration file of the virtual pipeline
handler as it serves documentation purposes, and to make the
virtual pipeline handler easily usable in CI.

Nonetheless, the file is installed with the ".example" suffix
so that it will not be used by default, to avoid cluttering
the camera lists of users whose distributions decide to
enable the virtual pipeline handler.

The file is installed in the proper location for convenience:
  (1) is is easier to use it in the CI;
  (2) users need not browse documentation to determine where
      they should place the file.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Harvey Yang <chenghaoyang@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Barnabás Pőcze 2024-12-20 13:54:24 +00:00 committed by Laurent Pinchart
parent 6841ea8d36
commit 8b35ce4753
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
install_data('virtual.yaml',
install_dir : pipeline_data_dir / 'virtual',
install_tag : 'runtime',
rename: 'virtual.yaml.example')

View file

@ -11,3 +11,5 @@ libjpeg = dependency('libjpeg', required : true)
libcamera_deps += [libyuv_dep] libcamera_deps += [libyuv_dep]
libcamera_deps += [libjpeg] libcamera_deps += [libjpeg]
subdir('data')