From bcd7cba0acc8a8ab0fe983f43605dae96a9ce389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ant=C3=B4nio=20Cardoso?= Date: Fri, 3 Jul 2026 10:23:59 -0300 Subject: [PATCH 1/2] scripts: build_gst: Remove stale commit, default libcamera to true It now builds fine since it has a prebuilt wheel --- scripts/build_gst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_gst.sh b/scripts/build_gst.sh index 60bba8f..8fb366e 100755 --- a/scripts/build_gst.sh +++ b/scripts/build_gst.sh @@ -15,7 +15,7 @@ GST_VERSION=${GST_VERSION:-main} # This install directory will be accessed by other stages of the docker build: GST_INSTALL_DIR=${GST_INSTALL_DIR:-/artifacts} GST_OMX_ENABLED=${GST_OMX_ENABLED:-false} # Unsupported since GStreamer 1.24.0 -LIBCAMERA_ENABLED=${LIBCAMERA_ENABLED:-false} # FIXME: libcamera is failing to build because pyyaml is not building on armv7 +LIBCAMERA_ENABLED=${LIBCAMERA_ENABLED:-true} LIBCAMERA_VERSION=${LIBCAMERA_VERSION:-master} LIBCAMERA_GIT_URL=${LIBCAMERA_GIT_URL:-https://git.libcamera.org/libcamera/libcamera.git} ARCH=${ARCH:-$(uname -m)} From 7b4c811bdcc35aed3691a54d48792a7936d8887a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ant=C3=B4nio=20Cardoso?= Date: Fri, 3 Jul 2026 10:27:44 -0300 Subject: [PATCH 2/2] docker: Switch libcamera to Raspberry's vendored fork There's a mismatch in the symbols name convention (hyphen versus underscore) between the upstream libcamera and the kernel, so we need to switch to the Raspberry's fork, which is based on upstream and contains patch fixing that. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3d56c18..7a170c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ ARG GST_INSTALL_DIR=/artifacts ARG GST_VERSION=1.28.1 ARG LIBCAMERA_ENABLED=true -ARG LIBCAMERA_VERSION=v0.7.0 +ARG LIBCAMERA_VERSION=v0.7.1+rpt20260609 +ARG LIBCAMERA_GIT_URL=https://github.com/raspberrypi/libcamera.git ARG RPICAM_ENABLED=false ARG GST_OMX_ENABLED=false @@ -28,6 +29,7 @@ ARG GST_INSTALL_DIR ARG GST_VERSION ARG LIBCAMERA_ENABLED ARG LIBCAMERA_VERSION +ARG LIBCAMERA_GIT_URL ARG RPICAM_ENABLED ARG GST_OMX_ENABLED ARG NINJA_MAX_JOBS