@@ -1,6 +1,6 @@
11{ stdenv, fetchgit, pkgconfig, libtoxcore-dev, qt5, openal, opencv,
22 libsodium, libXScrnSaver, glib, gdk_pixbuf, gtk2, cairo,
3− pango, atk, qrencode, ffmpeg, filter-audio }:
3+ pango, atk, qrencode, ffmpeg, filter-audio, makeWrapper }:
44
55stdenv.mkDerivation rec {
66 name = "qtox-dev-20150624";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 [
1616 libtoxcore-dev openal opencv libsodium filter-audio
1717 qt5.base qt5.tools libXScrnSaver glib gtk2 cairo
18− pango atk qrencode ffmpeg qt5.translations
18+ pango atk qrencode ffmpeg qt5.translations makeWrapper
1919 ];
2020
2121 nativeBuildInputs = [ pkgconfig ];
@@ -37,13 +37,16 @@ stdenv.mkDerivation rec {
3737 installPhase = ''
3838 mkdir -p $out/bin
3939 cp qtox $out/bin
40+ wrapProgram $out/bin/qtox \
41+ --prefix QT_PLUGIN_PATH : ${qt5.svg}/lib/qt5/plugins
4042 '';
4143
44+ enableParallelBuilding = true;
45+
4246 meta = with stdenv.lib; {
4347 description = "QT Tox client";
4448 license = licenses.gpl3;
4549 maintainers = with maintainers; [ viric jgeerds ];
4650 platforms = platforms.all;
4751 };
48−}
49−
52+}