[build]
dockerfile = "armhf.Dockerfile"
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH python3-pybind11:$CROSS_DEB_ARCH python3-dev:$CROSS_DEB_ARCH python3-yaml:$CROSS_DEB_ARCH",
"git clone https://github.com/raspberrypi/libcamera.git",
"cd libcamera",
"meson setup build --buildtype=release -Dpipelines=rpi/vc4 -Dipas=rpi/vc4 -Dv4l2=true -Dgstreamer=disabled -Dtest=false -Dlc-compliance=disabled -Dcam=disabled -Dqcam=disabled -Ddocumentation=disabled -Dpycamera=enabled",
"ninja -C build install",
]