From bc8504b0cf7d96f1aa3b7c22d9a84ba5d719690a Mon Sep 17 00:00:00 2001 From: Mauro Anjo Date: Tue, 30 Nov 2021 07:41:51 -0300 Subject: [PATCH 1/2] Upgrade libcamera Upgrades libcamera to latest commit, now libcamera.so is a symlink so made changes to include all created symlinks. Signed-off-by: Mauro Anjo --- .../recipes-multimedia/libcamera/libcamera.bb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb index fd94cc87701..be88fded376 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb @@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "\ " SRC_URI = " \ - git://linuxtv.org/libcamera.git;protocol=git;branch=master \ + git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ " -SRCREV = "193ca8c353a42334f65ddfc988a105a47bca3547" +SRCREV = "f47c9c36ed161c9afefe7d4910840fd41f38ae3d" PV = "202105+git${SRCPV}" @@ -35,7 +35,8 @@ do_configure:prepend() { } do_install:append() { - chrpath -d ${D}${libdir}/libcamera.so + chrpath -d ${D}${libdir}/libcamera.so.0.0.0 + chrpath -d ${D}${libdir}/libcamera-base.so.0.0.0 } addtask do_recalculate_ipa_signatures_package after do_package before do_packagedata @@ -52,5 +53,10 @@ do_recalculate_ipa_signatures_package() { } FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig" -FILES:${PN} += " ${libdir}/libcamera.so" +FILES:${PN}-dev += " ${libdir}/libcamera.so" +FILES:${PN}-dev += " ${libdir}/libcamera.so.0" +FILES:${PN} += " ${libdir}/libcamera.so.0.0.0" +FILES:${PN}-dev += " ${libdir}/libcamera-base.so" +FILES:${PN}-dev += " ${libdir}/libcamera-base.so.0" +FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.0" FILES:${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so" From 7b71581f11dfef8fd02c31df5606c82ae173f9a8 Mon Sep 17 00:00:00 2001 From: Mauro Anjo Date: Mon, 6 Dec 2021 12:08:59 -0300 Subject: [PATCH 2/2] libcamera: Update source commit Upgrade libcamera to commit with aarch64 corrections. Signed-off-by: Mauro Anjo --- meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb index be88fded376..725517c8d74 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb @@ -12,7 +12,7 @@ SRC_URI = " \ git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ " -SRCREV = "f47c9c36ed161c9afefe7d4910840fd41f38ae3d" +SRCREV = "f8d2f17a3db5ac490d7b505253a98d6795c2b630" PV = "202105+git${SRCPV}"