feat: bump all software & kernel, fix libcamera issues, load versions dynamically, 6.14 support

This commit is contained in:
adminy 2025-03-22 12:43:18 +00:00
parent 3e8100d5e9
commit c635f54fbd
7 changed files with 180 additions and 153 deletions

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation {
src = rpicam-apps-src;
nativeBuildInputs = with pkgs; [ meson pkg-config ];
nativeBuildInputs = with pkgs; [ meson pkg-config makeWrapper ];
buildInputs = with pkgs; [ libjpeg libtiff libcamera libepoxy boost libexif libpng ffmpeg libdrm ninja ];
mesonFlags = [
"-Denable_qt=disabled"
@ -21,6 +21,17 @@ stdenv.mkDerivation {
BOOST_INCLUDEDIR = "${lib.getDev pkgs.boost}/include";
BOOST_LIBRARYDIR = "${lib.getLib pkgs.boost}/lib";
postFixup = let
wrap = "wrapProgram $out/bin/rpicam";
ipa-var = "--set LIBCAMERA_IPA_PROXY_PATH ${pkgs.libcamera}/libexec/libcamera";
in ''
${wrap}-hello ${ipa-var}
${wrap}-raw ${ipa-var}
${wrap}-vid ${ipa-var}
${wrap}-jpeg ${ipa-var}
${wrap}-still ${ipa-var}
'';
meta = with lib; {
description = "Userland tools interfacing with Raspberry Pi cameras";
homepage = "https://github.com/raspberrypi/libcamera-apps";