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