2011-05-12 22:43:33 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2010-09-14 16:29:31 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-05-04 01:44:16 +02:00
|
|
|
name = "mp4v2-1.9.1p4";
|
2010-09-14 16:29:31 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mp4v2.googlecode.com/files/${name}.tar.bz2";
|
|
|
|
sha256 = "1d73qbi0faqad3bpmjfr4kk0mfmqpl1f43ysrx4gq9i3mfp1qf2w";
|
|
|
|
};
|
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 = [
|
|
|
|
./A00-nero-vobsub.patch ./A01-divide-zero.patch ./A02-meaningful-4gb-warning.patch
|
|
|
|
./P00-mingw-dllimport.patch
|
|
|
|
];
|
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 = {
|
|
|
|
homepage = http://code.google.com/p/mp4v2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2016-09-01 19:39:33 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-15 14:57:49 +02:00
|
|
|
};
|
2010-09-14 16:29:31 +02:00
|
|
|
}
|