2012-10-15 16:21:13 +02:00
|
|
|
{ stdenv, fetchurl, qt4, gstreamer, gst_plugins_base, liboil, speex, which
|
|
|
|
, glib, pkgconfig }:
|
2010-06-09 14:56:15 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-19 12:46:52 +01:00
|
|
|
name = "psimedia-1.0.3";
|
2010-06-09 14:56:15 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-02-19 12:46:52 +01:00
|
|
|
url = "http://delta.affinix.com/download/psimedia/${name}.tar.bz2";
|
2010-06-09 14:56:15 +02:00
|
|
|
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
|
|
|
};
|
|
|
|
|
2013-02-19 12:46:52 +01:00
|
|
|
patches = [ ./glib-2.32.patch ./linux-headers.patch ];
|
2012-10-15 16:21:13 +02:00
|
|
|
|
|
|
|
buildInputs = [ qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig ];
|
2010-06-09 14:56:15 +02:00
|
|
|
|
|
|
|
configurePhase = ''./configure'';
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
TARGET="$out/share/psi/plugins"
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$TARGET"
|
2010-06-09 14:56:15 +02:00
|
|
|
cp gstprovider/*.so "$TARGET"/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Psi Media, a plugin to provide Voice/Video over XMPP";
|
|
|
|
};
|
|
|
|
}
|