@@ -1,8 +1,11 @@
1−{ stdenv, fetchurl, pythonPackages, pkgconfig
1+{ stdenv, lib, fetchurl, pythonPackages, pkgconfig
22, xorg, gtk2, glib, pango, cairo, gdk_pixbuf, atk
33, makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config
44, ffmpeg, x264, libvpx, libwebp
5−, libfakeXinerama }:
5+, libfakeXinerama
6+, gst_all_1, pulseaudioLight, gobjectIntrospection }:
7+
8+with lib;
69
710let
811 inherit (pythonPackages) python cython buildPythonApplication;
@@ -26,11 +29,19 @@ in buildPythonApplication rec {
2629
2730 ffmpeg libvpx x264 libwebp
2831
32+ gobjectIntrospection
33+ gst_all_1.gstreamer
34+ gst_all_1.gst-plugins-base
35+ gst_all_1.gst-plugins-good
36+ gst_all_1.gst-plugins-bad
37+ gst_all_1.gst-libav
38+
2939 makeWrapper
3040 ];
3141
3242 propagatedBuildInputs = with pythonPackages; [
3343 pillow pygtk pygobject2 rencode pycrypto cryptography pycups lz4 dbus-python
44+ netifaces numpy websockify pygobject3 gst-python
3445 ];
3546
3647 preBuild = ''
@@ -49,8 +60,10 @@ in buildPythonApplication rec {
4960 --set FONTCONFIG_FILE "${fontsConf}" \
5061 --set XPRA_LOG_DIR "\$HOME/.xpra" \
5162 --set XPRA_INSTALL_PREFIX "$out" \
63+ --set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" \
64+ --set GST_PLUGIN_SYSTEM_PATH_1_0 "$GST_PLUGIN_SYSTEM_PATH_1_0" \
5265 --prefix LD_LIBRARY_PATH : ${libfakeXinerama}/lib \
53− --prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux ]}
66+ --prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux pulseaudioLight ]} \
5467 '';
5568
5669 preCheck = "exit 0";
@@ -65,7 +78,7 @@ in buildPythonApplication rec {
6578 meta = {
6679 homepage = http://xpra.org/;
6780 description = "Persistent remote applications for X";
68− platforms = stdenv.lib.platforms.linux;
69− maintainers = with stdenv.lib.maintainers; [ tstrobel ];
81+ platforms = platforms.linux;
82+ maintainers = with maintainers; [ tstrobel offline ];
7083 };
7184}