From 8b35ce475364f91909492d7bbaf9ec89b15c2511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 20 Dec 2024 13:54:24 +0000 Subject: libcamera: virtual: Install configuration file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Kieran Bingham Reviewed-by: Harvey Yang Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/libcamera/pipeline/virtual/data/meson.build | 4 ++++ src/libcamera/pipeline/virtual/meson.build | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 src/libcamera/pipeline/virtual/data/meson.build (limited to 'src') diff --git a/src/libcamera/pipeline/virtual/data/meson.build b/src/libcamera/pipeline/virtual/data/meson.build new file mode 100644 index 00000000..ce63f9a2 --- /dev/null +++ b/src/libcamera/pipeline/virtual/data/meson.build @@ -0,0 +1,4 @@ +install_data('virtual.yaml', + install_dir : pipeline_data_dir / 'virtual', + install_tag : 'runtime', + rename: 'virtual.yaml.example') diff --git a/src/libcamera/pipeline/virtual/meson.build b/src/libcamera/pipeline/virtual/meson.build index 4786fe2e..c8434593 100644 --- a/src/libcamera/pipeline/virtual/meson.build +++ b/src/libcamera/pipeline/virtual/meson.build @@ -11,3 +11,5 @@ libjpeg = dependency('libjpeg', required : true) libcamera_deps += [libyuv_dep] libcamera_deps += [libjpeg] + +subdir('data') -- cgit v1.2.1