qtox: drop gtk2 dependency

Tray icon still works without gtk2.

+11 -14
+11 -14
pkgs/applications/networking/instant-messengers/qtox/default.nix
··· 2 libtoxcore, 3 libpthreadstubs, libXdmcp, libXScrnSaver, 4 qtbase, qtsvg, qttools, qttranslations, 5 - atk, cairo, ffmpeg, filter-audio, gdk_pixbuf, glib, gtk2, libsodium, libopus, 6 - libvpx, openal, opencv, pango, pcre, qrencode, sqlcipher }: 7 8 mkDerivation rec { 9 name = "qtox-${version}"; ··· 20 libtoxcore 21 libpthreadstubs libXdmcp libXScrnSaver 22 qtbase qtsvg qttools qttranslations 23 - atk cairo ffmpeg filter-audio gdk_pixbuf glib gtk2 libopus libsodium 24 - libvpx openal opencv pango pcre qrencode sqlcipher 25 ]; 26 27 nativeBuildInputs = [ cmake pkgconfig ]; 28 29 cmakeFlags = [ 30 "-DGIT_DESCRIBE=${version}" 31 ]; 32 33 - installPhase = '' 34 - runHook preInstall 35 - 36 - install -Dm755 qtox $out/bin/qtox 37 - 38 - runHook postInstall 39 - ''; 40 - 41 meta = with lib; { 42 description = "Qt Tox client"; 43 - license = licenses.gpl3; 44 maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ]; 45 - platforms = platforms.all; 46 }; 47 }
··· 2 libtoxcore, 3 libpthreadstubs, libXdmcp, libXScrnSaver, 4 qtbase, qtsvg, qttools, qttranslations, 5 + ffmpeg, filter-audio, libsodium, libopus, 6 + libvpx, openal, opencv, pcre, qrencode, sqlcipher }: 7 8 mkDerivation rec { 9 name = "qtox-${version}"; ··· 20 libtoxcore 21 libpthreadstubs libXdmcp libXScrnSaver 22 qtbase qtsvg qttools qttranslations 23 + ffmpeg filter-audio libopus libsodium 24 + libvpx openal opencv pcre qrencode sqlcipher 25 ]; 26 27 nativeBuildInputs = [ cmake pkgconfig ]; 28 29 + enableParallelBuilding = true; 30 + 31 cmakeFlags = [ 32 "-DGIT_DESCRIBE=${version}" 33 + "-DENABLE_STATUSNOTIFIER=False" 34 + "-DENABLE_GTK_SYSTRAY=False" 35 + "-DENABLE_APPINDICATOR=False" 36 ]; 37 38 meta = with lib; { 39 description = "Qt Tox client"; 40 + license = licenses.gpl3; 41 maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ]; 42 + platforms = platforms.all; 43 }; 44 }