diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera_0.3.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.3.0.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.3.0.bb index 93f29c1612..66433ec155 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.3.0.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.3.0.bb | |||
| @@ -24,10 +24,11 @@ S = "${WORKDIR}/git" | |||
| 24 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" | 24 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" |
| 25 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" | 25 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" |
| 26 | 26 | ||
| 27 | PACKAGES =+ "${PN}-gst" | 27 | PACKAGES =+ "${PN}-gst ${PN}-pycamera" |
| 28 | 28 | ||
| 29 | PACKAGECONFIG ??= "" | 29 | PACKAGECONFIG ??= "" |
| 30 | PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" | 30 | PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" |
| 31 | PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" | ||
| 31 | 32 | ||
| 32 | LIBCAMERA_PIPELINES ??= "auto" | 33 | LIBCAMERA_PIPELINES ??= "auto" |
| 33 | 34 | ||
| @@ -71,6 +72,7 @@ do_package_recalculate_ipa_signatures() { | |||
| 71 | 72 | ||
| 72 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" | 73 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" |
| 73 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" | 74 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" |
| 75 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" | ||
| 74 | 76 | ||
| 75 | # libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to | 77 | # libcamera-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to |
| 76 | # both 32 and 64 bit file APIs. | 78 | # both 32 and 64 bit file APIs. |
