add farsight2

svn path=/nixpkgs/trunk/; revision=19135
This commit is contained in:
Armijn Hemel 2009-12-27 15:27:45 +00:00
parent c9e8b92980
commit 88af9b98d1
3 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{stdenv, fetchurl, libnice, pkgconfig, python, glib, gstreamer, gstPluginsBase}:
stdenv.mkDerivation {
name = "farsight2-0.0.16";
src = fetchurl {
url = http://farsight.freedesktop.org/releases/farsight2/farsight2-0.0.16.tar.gz;
sha256 = "07yjndkx1p7ij1ifxsnbqbr8943wmq768x4812khka7dx6ii1sv9";
};
buildInputs = [ libnice pkgconfig python glib gstreamer gstPluginsBase ];
configureFlags = "--disable-python";
patches = [./makefile.patch];
meta = {
homepage = http://farsight.freedesktop.org/wiki/;
description = "Audio/Video Communications Framework";
};
}

View file

@ -0,0 +1,37 @@
diff -ru farsight2-0.0.16/gst/rtcpfilter/Makefile.am farsight2-0.0.16.new/gst/rtcpfilter/Makefile.am
--- farsight2-0.0.16/gst/rtcpfilter/Makefile.am 2009-05-08 23:34:14.000000000 +0200
+++ farsight2-0.0.16.new/gst/rtcpfilter/Makefile.am 2009-12-27 16:17:32.000000000 +0100
@@ -7,12 +7,14 @@
libfsrtcpfilter_la_CFLAGS = \
$(FS2_CFLAGS) \
$(GST_BASE_CFLAGS) \
+ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS)
libfsrtcpfilter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libfsrtcpfilter_la_LIBADD = \
$(FS2_LIBS) \
-lgstrtp-@GST_MAJORMINOR@ \
$(GST_BASE_LIBS) \
+ $(GST_PLUGINS_BASE_LIBS) \
$(GST_LIBS)
diff -ru farsight2-0.0.16/gst/rtcpfilter/Makefile.in farsight2-0.0.16.new/gst/rtcpfilter/Makefile.in
--- farsight2-0.0.16/gst/rtcpfilter/Makefile.in 2009-10-06 20:24:00.000000000 +0200
+++ farsight2-0.0.16.new/gst/rtcpfilter/Makefile.in 2009-12-27 16:23:36.000000000 +0100
@@ -314,13 +314,14 @@
libfsrtcpfilter_la_CFLAGS = \
$(FS2_CFLAGS) \
$(GST_BASE_CFLAGS) \
+ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS)
libfsrtcpfilter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libfsrtcpfilter_la_LIBADD = \
$(FS2_LIBS) \
-lgstrtp-@GST_MAJORMINOR@ \
- $(GST_BASE_LIBS) \
+ $(GST_PLUGINS_BASE_LIBS) \
$(GST_LIBS)
glib_enum_define = FS_RTCP_FILTER

View file

@ -3259,6 +3259,12 @@ let
inherit fetchurl stdenv;
};
farsight2 = import ../development/libraries/farsight2 {
inherit fetchurl stdenv libnice pkgconfig python;
inherit (gnome) glib;
inherit (gst_all) gstreamer gstPluginsBase;
};
fcgi = import ../development/libraries/fcgi {
inherit fetchurl stdenv;
};