@@ -24,10 +24,11 @@ S = "${WORKDIR}/git"
DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
-PACKAGES =+ "${PN}-gst"
+PACKAGES =+ "${PN}-gst ${PN}-pycamera"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
+PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11"
LIBCAMERA_PIPELINES ??= "auto"
@@ -71,6 +72,7 @@ do_package_recalculate_ipa_signatures() {
FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so"
FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
+FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera"
# libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
# both 32 and 64 bit file APIs.
Supply a libcamera-pycamera package to allow installing the libcamera python bindings. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> --- v2: - Fix 'meta-multimedia' in subject - Deliver to openembedded-devel instead of openembedded-core .../recipes-multimedia/libcamera/libcamera_0.3.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)