[libcamera-devel] [PATCH v2 02/12] libcamera: add dependency on libudev
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Jan 9 18:07:29 CET 2019
Hi Niklas, Laurent,
On 29/12/2018 03:28, Niklas Söderlund wrote:
> The device enumeration will depend on libudev, add the dependency to the
> build system. This should be turned into a optional dependency once a
> device enumerator not using udev is supported.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/libcamera/meson.build | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
> index 46591069aa5f8beb..52b556a8ed4050cb 100644
> --- a/src/libcamera/meson.build
> +++ b/src/libcamera/meson.build
> @@ -16,7 +16,10 @@ includes = [
> libcamera_internal_includes,
> ]
>
> +libudev = dependency('libudev')
> +
The website currently states that we will not depend on anything except
the standard libraries [0].
I guess this will be updated when we move the website to build from the
repo, although I can't see anywhere within Documentation listing
anything similar. Is there a section missing in our source level docs?
[0] http://www.libcamera.org/docs.html#technical-requirements
--
Kieran
> libcamera = shared_library('camera',
> libcamera_sources,
> install : true,
> - include_directories : includes)
> + include_directories : includes,
> + dependencies : libudev)
>
--
Regards
--
Kieran
More information about the libcamera-devel
mailing list