From 5839c987883d7a4369c25c4677c7afdad824f21e Mon Sep 17 00:00:00 2001 From: Mike Bullis Date: Sat, 22 Feb 2025 09:47:33 -0600 Subject: [PATCH] Add recipe for python3-picamera2 Signed-off-by: Mike Bullis --- .../python3-picamera2_git.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-multimedia/python3-picamera2/python3-picamera2_git.bb diff --git a/recipes-multimedia/python3-picamera2/python3-picamera2_git.bb b/recipes-multimedia/python3-picamera2/python3-picamera2_git.bb new file mode 100644 index 000000000..69dc0a0c5 --- /dev/null +++ b/recipes-multimedia/python3-picamera2/python3-picamera2_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "Python interface to the Raspberry Pi camera module via libcamera" +DESCRIPTION = "This package provides a pure Python interface to the Raspberry Pi camera module via libcamera for Python 3" +HOMEPAGE = "https://github.com/raspberrypi/picamera2" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6541a38108b5accb25bd55a14e76086d" + +RDEPENDS:${PN} = "python3-numbers \ + python3-ctypes \ + python3-colorzero \ + picamera-libs \ +" + +SRC_URI = "git://git@github.com/raspberrypi/picamera2.git;protocol=ssh;branch=main" +SRCREV = "fb031cb49cb2af4dab7439be7a90784c9d3db1ab" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +COMPATIBLE_HOST = "null" +COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"