1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "mp4v2-2.0.0";
5
6 src = fetchurl {
7 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/${name}.tar.bz2";
8 sha256 = "0f438bimimsvxjbdp4vsr8hjw2nwggmhaxgcw07g2z361fkbj683";
9 };
10
11 # From Handbrake
12 # mp4v2 doesn't seem to be actively maintained any more :-/
13 patches = [
14 ./A02-meaningful-4gb-warning.patch
15 ];
16 # `faac' expects `mp4.h'.
17 postInstall = "ln -s mp4v2/mp4v2.h $out/include/mp4.h";
18
19 hardeningDisable = [ "format" ];
20
21 meta = {
22 homepage = http://code.google.com/p/mp4v2;
23 maintainers = [ ];
24 platforms = stdenv.lib.platforms.linux;
25 };
26}