about summary refs log tree commit diff
path: root/pkgs/development/libraries/libdv/default.nix
blob: 4b0e05acf98d124427ca813b2ee3c28ff4657c75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
args:
let edf = args.lib.enableDisableFeature; in
( args.mkDerivationByConfiguration {
    flagConfig = { }
      # TODO! implement flags
      # I want to get kino and cinelerra working. That's why I don't spend more time on this now
      // edf "libtool_lock" "libtool_lock" { } #avoid locking (might break parallel builds)
      // edf "asm" "asm" { } #disable use of architecture specific assembly code
      // edf "sdl" "sdl" { } #enable use of SDL for display
      // edf "gtk" "gtk" { } #disable use of gtk for display
      // edf "xv" "xv" { } #disable use of XVideo extension for display
      // edf "gprof" "gprof" { } #enable compiler options for gprof profiling
    ;

    extraAttrs = co : {
      name = "libdv-1.0.0";

      src = args.fetchurl {
        url = mirror://sourceforge/libdv/libdv-1.0.0.tar.gz;
        sha256 = "1fl96f2xh2slkv1i1ix7kqk576a0ak1d33cylm0mbhm96d0761d3";
      };

    meta = { 
      description = "software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards";
      homepage = http://sourceforge.net/projects/libdv/;
      # you can choose one of the following licenses: 
      license = [];
    };
  };
} ) args