Merge pull request #275682 from a-n-n-a-l-e-e/aacgain-fix
This commit is contained in:
commit
f42d168613
1 changed files with 6 additions and 13 deletions
|
@ -5,27 +5,20 @@
|
||||||
, autoconf
|
, autoconf
|
||||||
, automake
|
, automake
|
||||||
, libtool
|
, libtool
|
||||||
, faad2
|
|
||||||
, mp4v2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "aacgain";
|
pname = "aacgain";
|
||||||
version = "2.0.0";
|
version = "2.0.0-unstable-2022-07-12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dgilman";
|
owner = "dgilman";
|
||||||
repo = pname;
|
repo = "aacgain";
|
||||||
rev = version;
|
rev = "9f9ae95a20197d1072994dbd89672bba2904bdb5";
|
||||||
sha256 = "sha256-9Y23Zh7q3oB4ha17Fpm1Hu2+wtQOA1llj6WDUAO2ARU=";
|
hash = "sha256-WqL9rKY4lQD7wQSZizoM3sHNzLIG0E9xZtjw8y7fgmE=";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
cp -R ${faad2.src}/* 3rdparty/faad2
|
|
||||||
cp -R ${mp4v2.src}/* 3rdparty/mp4v2
|
|
||||||
chmod -R +w 3rdparty
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
autoconf
|
autoconf
|
||||||
|
|
Loading…
Reference in a new issue