qtox: drop gtk2 dependency
Tray icon still works without gtk2.
This commit is contained in:
parent
d6f9c0b353
commit
90b3d2db91
@ -2,8 +2,8 @@
|
|||||||
libtoxcore,
|
libtoxcore,
|
||||||
libpthreadstubs, libXdmcp, libXScrnSaver,
|
libpthreadstubs, libXdmcp, libXScrnSaver,
|
||||||
qtbase, qtsvg, qttools, qttranslations,
|
qtbase, qtsvg, qttools, qttranslations,
|
||||||
atk, cairo, ffmpeg, filter-audio, gdk_pixbuf, glib, gtk2, libsodium, libopus,
|
ffmpeg, filter-audio, libsodium, libopus,
|
||||||
libvpx, openal, opencv, pango, pcre, qrencode, sqlcipher }:
|
libvpx, openal, opencv, pcre, qrencode, sqlcipher }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "qtox-${version}";
|
name = "qtox-${version}";
|
||||||
@ -20,24 +20,21 @@ mkDerivation rec {
|
|||||||
libtoxcore
|
libtoxcore
|
||||||
libpthreadstubs libXdmcp libXScrnSaver
|
libpthreadstubs libXdmcp libXScrnSaver
|
||||||
qtbase qtsvg qttools qttranslations
|
qtbase qtsvg qttools qttranslations
|
||||||
atk cairo ffmpeg filter-audio gdk_pixbuf glib gtk2 libopus libsodium
|
ffmpeg filter-audio libopus libsodium
|
||||||
libvpx openal opencv pango pcre qrencode sqlcipher
|
libvpx openal opencv pcre qrencode sqlcipher
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DGIT_DESCRIBE=${version}"
|
"-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; {
|
meta = with lib; {
|
||||||
description = "Qt Tox client";
|
description = "Qt Tox client";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user