Commit Graph

6 Commits

Author SHA1 Message Date
Madhavan Krishnan f4272f2abf libcamera: Bumped to latest revision and added pkgconfig to enable gstreamer
Bumped to latest source revision of libcamera, and added packageconfig
to enable the gstreamer during build, and to generate and install the
gstreamer library.

Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:56:46 -07:00
Andrey Konovalov bbf746857d libcamera: fix packaging and installation
libcamera checks if RPATH or RUNPATH dynamic tag is present in
libcamera.so. If it does, it assumes that libcamera binaries are
run directly from the build directory without installing them, and
tries to use resorces like IPA modules from the build directory.
Mainline meson strips RPATH/RUNPATH out from libcamera.so file
at install time. But openembedded-core patches meson to disable
RPATH/RUNPATH removal. That's why  we need to remove this tag manually
in do_install_append().

IPA module is signed (with openssl dgst) after it is built. But
during packaging the OE build system 1) splits out debugging info,
and 2) strips the binaries. So the IPA module so file installed
isn't the one which the signature was calculated against. Then
the signature check fails, and libcamera tries to run the IPA
module isolated (in a sandbox), which doesn't work if the IPA
module wasn't designed to run isolated. The solution is to
recalculate the IPA modules signatures in ${PKGD} after do_package().

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Khem Raj 51f97cee9e libcamera: Fix License names to match SPDX convention
Fixes
do_populate_lic: libcamera: No generic license file exists for: GPL-2.0-or-later in any provider

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-09 13:07:24 -07:00
Madhavan Krishnan 2a9d26de93 libcamera: Bumped to latest source revision
Updated the source revision, to include the gstreamer pipeline
support added in libcamera, also the Raspberry Pi pipeline support
for Raspberry Pi camera sensor device.

Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-16 10:55:02 -07:00
Madhavan Krishnan 59daa1229a libcamera: Bumped to latest source revision
libcamera uses the host machine python instead of sysroot,
We use the patch file for libcamera source to use the
sysroot python. But libcamera team has fix this issue and,
pushed the changes to libcamera source, now we are pointing
to that particular source revision of libcamera.

In musl, we faced the compilation iisue, so we changed the
source revision pointing to the fix of musl compilation issue.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 15:32:27 -08:00
madhavank27 5dcb72e707 Added bb file for libcamera integration
Signed-off-by: madhavank27 <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 00:50:59 -08:00