faac: 1.31.1 -> 1.50 (#524576)
This commit is contained in:
@@ -2,33 +2,34 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
mp4v2Support ? true,
|
||||
mp4v2,
|
||||
meson,
|
||||
ninja,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "faac";
|
||||
version = "1.31.1";
|
||||
version = "1.50";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "knik0";
|
||||
repo = "faac";
|
||||
tag = "faac-${finalAttrs.version}";
|
||||
hash = "sha256-mSdFnmOOpCJ9lvX1vLyAZdK7m+0cUSdLTScGs+Sh1Rc=";
|
||||
hash = "sha256-264+OHyqG5Ccwx15cHhDqsk+9Z6UsdYr0bvrPWHP5xw=";
|
||||
};
|
||||
|
||||
configureFlags = lib.optional mp4v2Support "--with-external-mp4v2";
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = lib.optional mp4v2Support mp4v2;
|
||||
mesonFlags = [
|
||||
"-Db_lto=false" # plugin needed to handle lto object
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/knik0/faac/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Open source MPEG-4 and MPEG-2 AAC encoder";
|
||||
homepage = "https://github.com/knik0/faac";
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
|
||||
Reference in New Issue
Block a user