Skip to content

Commit

Permalink
qtox: drop gtk2 dependency
Browse files Browse the repository at this point in the history
Tray icon still works without gtk2.
  • Loading branch information
peterhoeg committed Sep 11, 2017
1 parent d6f9c0b commit 90b3d2d
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions pkgs/applications/networking/instant-messengers/qtox/default.nix
Expand Up @@ -2,8 +2,8 @@
libtoxcore,
libpthreadstubs, libXdmcp, libXScrnSaver,
qtbase, qtsvg, qttools, qttranslations,
atk, cairo, ffmpeg, filter-audio, gdk_pixbuf, glib, gtk2, libsodium, libopus,
libvpx, openal, opencv, pango, pcre, qrencode, sqlcipher }:
ffmpeg, filter-audio, libsodium, libopus,
libvpx, openal, opencv, pcre, qrencode, sqlcipher }:

mkDerivation rec {
name = "qtox-${version}";
Expand All @@ -20,28 +20,25 @@ mkDerivation rec {
libtoxcore
libpthreadstubs libXdmcp libXScrnSaver
qtbase qtsvg qttools qttranslations
atk cairo ffmpeg filter-audio gdk_pixbuf glib gtk2 libopus libsodium
libvpx openal opencv pango pcre qrencode sqlcipher
ffmpeg filter-audio libopus libsodium
libvpx openal opencv pcre qrencode sqlcipher
];

nativeBuildInputs = [ cmake pkgconfig ];

enableParallelBuilding = true;

cmakeFlags = [
"-DGIT_DESCRIBE=${version}"
"-DENABLE_STATUSNOTIFIER=False"
"-DENABLE_GTK_SYSTRAY=False"
"-DENABLE_APPINDICATOR=False"
];

installPhase = ''
runHook preInstall
install -Dm755 qtox $out/bin/qtox
runHook postInstall
'';

meta = with lib; {
description = "Qt Tox client";
license = licenses.gpl3;
license = licenses.gpl3;
maintainers = with maintainers; [ viric jgeerds akaWolf peterhoeg ];
platforms = platforms.all;
platforms = platforms.all;
};
}

0 comments on commit 90b3d2d

Please sign in to comment.