summary refs log tree commit diff
path: root/pkgs/development/libraries/mediastreamer/2.2.0-cvs20080207.nix
blob: 2b4a6a35f832364ce3c7e505824709f3c78019bc (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
{ stdenv, fetchurl, autoconf, automake, libtool
, pkgconfig, alsaLib, ffmpeg, speex, ortp }:

stdenv.mkDerivation rec {
  name = "mediastreamer2-2.2.0-cvs20080207";

# This url is not related to mediastreamer. fetchcvs doesn't work on my laptop,
# so I've created cvs snapshot and put it to my server.
  src = fetchurl {
    url = "http://www.loegria.net/misc/" + name + ".tar.bz2";
    sha256 = "1nmvyqh4x3nsw4qbj754jwagj9ia183kvp8valdr7m44my0sw5p1";
  };

  buildInputs = [automake libtool autoconf pkgconfig];

  propagatedBuildInputs = [alsaLib ffmpeg speex ortp];

  preConfigure = "./autogen.sh";

  patches = [ ./h264.patch ./plugins.patch ];

  configureFlags = "--enable-external-ortp";
}