Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions recipes-multimedia/python3-picamera2/python3-picamera2_git.bb
Original file line number Diff line number Diff line change
@@ -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://[email protected]/raspberrypi/picamera2.git;protocol=ssh;branch=main"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it have to use ssh protocol for SRC_URI, can we use https instead? something like
git://github.com/raspberrypi/picamera2.gitprotocol=https;branch=main

SRCREV = "fb031cb49cb2af4dab7439be7a90784c9d3db1ab"

S = "${WORKDIR}/git"

inherit setuptools3

COMPATIBLE_HOST = "null"
COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about 64-bit rpi ? maybe you want

COMPATIBLE_HOST = "null"
COMPATIBLE_HOST:rpi = "(.*)"