aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/libcamera
AgeCommit message (Collapse)Author
2022-10-04libcamera: Bump SRCREV and add libyaml to DEPENDSDevendra Tewari
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
2022-05-12libcamera: fix packagingJulien STEPHAN
libcamera.so.0 and libcamera-base.so.0 are packaged in ${PN}-dev although they should be packaged in ${PN}. See poky/meta/conf/bitbake.conf. This trigger the following error when trying to run the `cam` utility (packaged inside ${PN}): $ cam -l cam: error while loading shared libraries: libcamera.so.0: cannot open shared object file: No such file or directory $ read-elf -d /usr/bin/cam Dynamic section at offset 0x2c740 contains 37 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libcamera.so.0] 0x0000000000000001 (NEEDED) Shared library: [libcamera-base.so.0] [...] So package libcamera is broken and need to be installed along with libcamera-dev to be functionnal. Fix it by packaging libcamera.so.0 and libcamera-base.so.0 into ${PN} Signed-off-by: Julien STEPHAN <jstephan@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-23Revert "libcamera: add pkg-config files"Khem Raj
This reverts commit 606eaedc8cb3eef1010f25679569d48c2681758f.
2022-02-22libcamera: add pkg-config filesDevendra Tewari
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-03libcamera: update meson options to build pipeline handlers & cam utilityPeter Griffin
Enable uvcvideo, simple, and vimc pipeline handlers in libcamera. Without any pipeline handlers libcamera can't capture any frames. Also enable cam utility with is a cli utility that can use the library to capture some frames. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-08libcamera: Update to latest commitMauro Anjo
Drop patch for musl/aarch64 and bump source commit to latest version that has the patch applied. Signed-off-by: Mauro Anjo <maurosanjo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01libcamera: Fix build break on muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-01Upgrade libcameraMauro Anjo
Upgrades libcamera to latest commit, now libcamera.so is a symlink so made changes to include all created symlinks. Signed-off-by: Mauro Anjo <maurosanjo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03recipes: Update SRC_URI branch and protocolsRichard Purdie
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-17libcamera: Update to latest master tipKhem Raj
Drop upstreamed patch jinja2.Environment.compile_templates no longer accepts py_compile argument so delete it Fixes TypeError: compile_templates() got an unexpected keyword argument 'py_compile' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-28libcamera: Update the patch to upstreamed oneKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03libcamera: Update to latestKhem Raj
Add a fix for build with gcc11 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08libcamera: Bumped to latest revision and added pkgconfig to enable gstreamerMadhavan Krishnan
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-08-13libcamera: fix packaging and installationAndrey Konovalov
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-09libcamera: Fix License names to match SPDX conventionKhem Raj
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-06-16libcamera: Bumped to latest source revisionMadhavan Krishnan
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-02-20libcamera: Bumped to latest source revisionMadhavan Krishnan
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-01-10Added bb file for libcamera integrationmadhavank27
Signed-off-by: madhavank27 <madhavan.krishnan@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>