forked from mirrors/nixpkgs
5b132f6e96
Conflicts: cups, all-packages.nix (gcc45_debug) svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
25 lines
641 B
Nix
25 lines
641 B
Nix
{stdenv, fetchurl, qt4, gst_all, liboil, speex, which, glib, pkgconfig}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "psimedia";
|
|
|
|
src = fetchurl {
|
|
url = "http://delta.affinix.com/download/psimedia/psimedia-1.0.3.tar.bz2";
|
|
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
|
};
|
|
|
|
buildInputs = [qt4 gst_all.gstreamer gst_all.gstPluginsBase liboil speex which glib pkgconfig];
|
|
|
|
configurePhase = ''./configure'';
|
|
|
|
postBuild = ''
|
|
TARGET="$out/share/psi/plugins"
|
|
mkdir -p "$TARGET"
|
|
cp gstprovider/*.so "$TARGET"/
|
|
'';
|
|
|
|
meta = {
|
|
description = "Psi Media, a plugin to provide Voice/Video over XMPP";
|
|
};
|
|
}
|