Skip to contentSkip to conversation

libcamera: Update to latest master tip

PATCH New Khem Raj 1 participant 1 message May 16, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libcamera: Update to latest master tip

Drop upstreamed patch jinja2.Environment.compile_templates no longer accepts py_compile argument so delete it

Fixes
TypeError: compile_templates() got an unexpected keyword argument 'py_compile'

Cc Andreas Müller <[email protected]>
---
 .../recipes-multimedia/libcamera/libcamera.bb |   9 +-
 ...o-variable-to-avoid-range-loop-warni.patch | 117 ------------------
 2 files changed, 6 insertions(+), 120 deletions(-)
 delete mode 100644 meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-uvcvideo-Use-auto-variable-to-avoid-range-loop-warni.patch
meta-multimedia/recipes-multimedia/libcamera/libcamera.bb +6 -3
index b05df32102..30dab1d928 100644
@@ -10,12 +10,11 @@ LIC_FILES_CHKSUM = "\
 
 SRC_URI = " \
         git://linuxtv.org/libcamera.git;protocol=git \
-        file://0001-uvcvideo-Use-auto-variable-to-avoid-range-loop-warni.patch \
 "
 
-SRCREV = "f490a87fd339fc7443f5d8467ba56a35c750a5f7"
+SRCREV = "193ca8c353a42334f65ddfc988a105a47bca3547"
 
-PV = "202102+git${SRCPV}"
+PV = "202105+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
@@ -31,6 +30,10 @@ RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland qt', 'qtwayla
 
 inherit meson pkgconfig python3native
 
+do_configure_prepend() {
+    sed -i -e 's|py_compile=True,||' ${S}/utils/ipc/mojo/public/tools/mojom/mojom/generate/template_expander.py
+}
+
 do_install_append() {
     chrpath -d ${D}${libdir}/libcamera.so
 }
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-uvcvideo-Use-auto-variable-to-avoid-range-loop-warni.patch deleted +0 -117

117 lines not on this page · raw message

Signature · 1 line
2.31.1