mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-12-08 10:01:03 +01:00
feat: bump all software & kernel, fix libcamera issues, load versions dynamically, 6.14 support
This commit is contained in:
parent
3e8100d5e9
commit
c635f54fbd
7 changed files with 180 additions and 153 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue