2011-05-12 21:43:33 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2010-09-14 15:29:31 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-23 00:04:26 +00:00
|
|
|
name = "mp4v2-2.0.0";
|
2010-09-14 15:29:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-23 00:04:26 +00:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/${name}.tar.bz2";
|
|
|
|
sha256 = "0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683";
|
2010-09-14 15:29:31 +01:00
|
|
|
};
|
2010-09-15 13:57:49 +01:00
|
|
|
|
2014-05-04 00:44:16 +01:00
|
|
|
# From Handbrake
|
|
|
|
# mp4v2 doesn't seem to be actively maintained any more :-/
|
|
|
|
patches = [
|
2017-02-23 00:04:26 +00:00
|
|
|
./A02-meaningful-4gb-warning.patch
|
2014-05-04 00:44:16 +01:00
|
|
|
];
|
2011-05-12 21:43:33 +01:00
|
|
|
# `faac' expects `mp4.h'.
|
|
|
|
postInstall = "ln -s mp4v2/mp4v2.h $out/include/mp4.h";
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 01:00:03 +00:00
|
|
|
|
2010-09-15 13:57:49 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/p/mp4v2;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2016-09-01 18:39:33 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-15 13:57:49 +01:00
|
|
|
};
|
2010-09-14 15:29:31 +01:00
|
|
|
}
|