@@ -1,21 +1,21 @@
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 {
6− name = "qtox-dev-20150624";
6+ name = "qtox-dev-20150821";
77
88 src = fetchgit {
99 url = "https://github.com/tux3/qTox.git";
10− rev = "9f386135a2cf428d2802b158c70be4beee5abf86";
11− sha256 = "1m2y50q5yim1q75k48cy5daq5qm77cvb3kcla7lpqv54xnfdwxk8";
10+ rev = "2f6b5e052f2a625d506e83f880c5d68b49118f95";
11+ md5 = "b2f9cf283136b6e558876ca2e6d128a3";
1212 };
1313
1414 buildInputs =
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,8 +37,12 @@ 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;
@@ -46,4 +50,3 @@ stdenv.mkDerivation rec {
4650 platforms = platforms.all;
4751 };
4852}
49−