Skip to content

Commit 0e29bc9

Browse files
author
Gijs Peskens
committed
libcamera-apps: upgrade to 1.5.3
1 parent c4bcc71 commit 0e29bc9

2 files changed

Lines changed: 15 additions & 280 deletions

File tree

dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps/0002-Revert-Support-compressed-pixel-formats-when-saving-.patch

Lines changed: 0 additions & 271 deletions
This file was deleted.

dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,21 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=a0013d1b383d72ba4bdc5b750e7d1d77"
1010
SRC_URI = "\
1111
git://github.com/raspberrypi/libcamera-apps.git;protocol=https;branch=main \
1212
file://0001-utils-version.py-use-usr-bin-env-in-shebang.patch \
13-
file://0002-Revert-Support-compressed-pixel-formats-when-saving-.patch \
1413
"
15-
PV = "1.4.2+git${SRCPV}"
16-
SRCREV = "9ae39f85ae6bee9761c36b9b5b80d675bc1fa369"
14+
PV = "1.5.2+git${SRCPV}"
15+
SRCREV = "50958df98d3cf77b54706a794226d556d649981c"
1716

1817
S = "${WORKDIR}/git"
1918

2019
DEPENDS = "libcamera libexif jpeg tiff libpng boost"
2120

2221
PACKAGECONFIG ??= "drm"
23-
PACKAGECONFIG[libav] = "-Denable_libav=true, -Denable_libav=false, libav"
24-
PACKAGECONFIG[drm] = "-Denable_drm=true, -Denable_drm=false, libdrm"
25-
PACKAGECONFIG[egl] = "-Denable_egl=true, -Denable_egl=false, virtual/egl"
26-
PACKAGECONFIG[qt] = "-Denable_qt=true, -Denable_qt=false, qtbase"
27-
PACKAGECONFIG[opencv] = "-Denable_opencv=true, -Denable_opencv=false, opencv"
28-
PACKAGECONFIG[tflite] = "-Denable_tflite=true, -Denable_tflite=false, tensorflow-lite"
22+
PACKAGECONFIG[libav] = "-Denable_libav=enabled, -Denable_libav=disabled, libav"
23+
PACKAGECONFIG[drm] = "-Denable_drm=enabled, -Denable_drm=disabled, libdrm"
24+
PACKAGECONFIG[egl] = "-Denable_egl=enabled, -Denable_egl=disabled, virtual/egl"
25+
PACKAGECONFIG[qt] = "-Denable_qt=enabled, -Denable_qt=disabled, qtbase"
26+
PACKAGECONFIG[opencv] = "-Denable_opencv=enabled, -Denable_opencv=disabled, opencv"
27+
PACKAGECONFIG[tflite] = "-Denable_tflite=enabled, -Denable_tflite=disabled, tensorflow-lite"
2928

3029
inherit meson pkgconfig
3130

@@ -40,5 +39,12 @@ do_install:append() {
4039
rm -v ${D}/${bindir}/camera-bug-report
4140
}
4241

42+
FILES:${PN}:append = " \
43+
/usr/share/rpi-camera-assets/negate.json \
44+
/usr/share/rpi-camera-assets/hdr.json \
45+
/usr/share/rpi-camera-assets/motion_detect.json \
46+
/usr/lib/rpicam-apps-postproc/core-postproc.so \
47+
"
48+
4349
# not picked automatically, because it's missing common 'lib' prefix
4450
FILES:${PN}-dev += "${libdir}/rpicam_app.so"

0 commit comments

Comments
 (0)