package/libcamera: bump to version 0.4.0

For change log since 0.3.2, see:
https://git.libcamera.org/libcamera/libcamera.git/tag/?h=v0.4.0

libcamera dropped the gcc 8 support in [1] and increased the minimal
version to 9. This commit updates that requirement in the package
Config.in and in reverse dependency (in libcamera-apps).

This commit also updates the libcamera runtime test to the new format
of the "cam --list-properties" output.

[1] https://git.libcamera.org/libcamera/libcamera.git/commit/?id=9f513439b6896d1a33c91a400bd02b7b8829feb6

Cc: Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Julien Olivain
2024-12-26 13:13:14 +01:00
parent b7882d024a
commit c26da42560
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class TestLibCamera(infra.basetest.BRTest):
cmd = f"cam --camera {cam_idx} --list-controls"
out, ret = self.emulator.run(cmd)
self.assertEqual(ret, 0)
self.assertIn("Control: Brightness:", "\n".join(out))
self.assertIn("Control: [inout] libcamera::Brightness:", "\n".join(out))
# List the camera properties and check we have a camera
# "Model" property.