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