From b21d5ca80a77a6608b1a46bed19e28ac4b17f13f Mon Sep 17 00:00:00 2001 From: Luca Carlon Date: Thu, 29 Feb 2024 17:26:27 +0100 Subject: [PATCH] picamera-libs: removed unused libraries from python3-picamera Apparently the recipe for python3 picamera is installing some libraries from /opt/vc/lib that are not necessary to the picamera module. The gles2 library, in particular, overwrites a symlink to another version of the gles2 library. The result is that two different gles2 libs are placed in /usr/lib. This commit removes a few unneeded libraries, leaving libmmal and its dependencies, that are instead required. Signed-off-by: Luca Carlon --- recipes-multimedia/picamera-libs/picamera-libs.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-multimedia/picamera-libs/picamera-libs.bb b/recipes-multimedia/picamera-libs/picamera-libs.bb index f873a199..28604428 100644 --- a/recipes-multimedia/picamera-libs/picamera-libs.bb +++ b/recipes-multimedia/picamera-libs/picamera-libs.bb @@ -11,6 +11,7 @@ S = "${RPIFW_S}" do_install(){ install -m 0755 -d ${D}${libdir} install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir} + rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so } FILES:${PN} = "${libdir}"