mirror of https://github.com/materusPL/Nixerus.git
ffmpeg: fix build on unstable, don't use custom file
This commit is contained in:
parent
f2175b39f1
commit
1d1741aceb
|
@ -1,4 +1,4 @@
|
||||||
import ./generic.nix rec {
|
import ./old.nix rec {
|
||||||
version = "6.1";
|
version = "6.1";
|
||||||
sha256 = "sha256-NzhD2D16bCVCyCXo0TRwZYp3Ta5eFSfoQPa+iRkeNZg=";
|
sha256 = "sha256-NzhD2D16bCVCyCXo0TRwZYp3Ta5eFSfoQPa+iRkeNZg=";
|
||||||
}
|
}
|
|
@ -9,11 +9,13 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ffmpeg6-amf-full = pkgs.callPackage ./apps/ffmpeg {
|
ffmpeg6-amf-full = (if pkgs.ffmpeg-full.version != "6.1" then pkgs.callPackage ./apps/ffmpeg {
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks)
|
inherit (pkgs.darwin.apple_sdk.frameworks)
|
||||||
Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox
|
Cocoa CoreServices CoreAudio CoreMedia AVFoundation MediaToolbox
|
||||||
VideoDecodeAcceleration VideoToolbox;
|
VideoDecodeAcceleration VideoToolbox;
|
||||||
};
|
} else
|
||||||
|
(pkgs.ffmpeg-full.overrideAttrs (finalAttrs: previousAttrs: {configureFlags = previousAttrs.configureFlags ++ ["--enable-amf"]; buildInputs = previousAttrs.buildInputs ++ [pkgs.amf-headers]; }))
|
||||||
|
);
|
||||||
|
|
||||||
obs-amf = pkgs.qt6Packages.callPackage ./apps/obs { ffmpeg = ffmpeg6-amf-full; inherit libcef; };
|
obs-amf = pkgs.qt6Packages.callPackage ./apps/obs { ffmpeg = ffmpeg6-amf-full; inherit libcef; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue