2008-02-07 11:07:27 +00:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-10 17:34:49 +00:00
|
|
|
name = "mediastreamer2-" + version;
|
2008-02-07 11:07:27 +00:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
|
2008-02-10 17:34:49 +00:00
|
|
|
buildInputs = [automake libtool autoconf pkgconfig];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [alsaLib ffmpeg speex ortp];
|
2008-02-07 11:07:27 +00:00
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
2008-02-10 17:34:49 +00:00
|
|
|
|
|
|
|
patches = [ ./h264.patch ./plugins.patch ];
|
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
configureFlags = "--enable-external-ortp";
|
2008-02-07 11:07:27 +00:00
|
|
|
}
|