2011-05-12 20:43:33 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2010-09-14 14:29:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-23 00:04:26 +00:00
|
|
|
name = "mp4v2-2.0.0";
|
2010-09-14 14:29:31 +00: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 14:29:31 +00:00
|
|
|
};
|
2010-09-15 12:57:49 +00:00
|
|
|
|
2014-05-03 23:44:16 +00: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-03 23:44:16 +00:00
|
|
|
];
|
2011-05-12 20:43:33 +00: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 12:57:49 +00:00
|
|
|
meta = {
|
2017-10-26 23:44:19 +00:00
|
|
|
homepage = https://code.google.com/archive/p/mp4v2/;
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2016-09-01 17:39:33 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-10-26 23:44:19 +00:00
|
|
|
license = stdenv.lib.licenses.mpl11;
|
2010-09-15 12:57:49 +00:00
|
|
|
};
|
2010-09-14 14:29:31 +00:00
|
|
|
}
|