qsyncthingtray: allow building with qt 5.8
This commit is contained in:
parent
d3bf2afc54
commit
e89343dc08
@ -36,9 +36,14 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = let qst = "qsyncthingtray"; in ''
|
installPhase = let qst = "qsyncthingtray"; in ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
install -m755 QSyncthingTray $out/bin/${qst}
|
install -m755 QSyncthingTray $out/bin/${qst}
|
||||||
ln -s $out/bin/${qst} $out/bin/QSyncthingTray
|
ln -s $out/bin/${qst} $out/bin/QSyncthingTray
|
||||||
|
wrapQtProgram $out/bin/qsyncthingtray
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -52,6 +57,7 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
maintainers = with maintainers; [ zraexy peterhoeg ];
|
maintainers = with maintainers; [ zraexy peterhoeg ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
broken = builtins.compareVersions qtbase.version "5.7.0" >= 0;
|
# 0.5.7 segfaults when opening the main panel with qt 5.7 but qt 5.8 is OK
|
||||||
|
broken = builtins.compareVersions qtbase.version "5.7.0" == 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15251,8 +15251,8 @@ with pkgs;
|
|||||||
qt = qt4;
|
qt = qt4;
|
||||||
};
|
};
|
||||||
|
|
||||||
# 0.5.7 segfaults when opening the main panel with qt 5.7
|
# 0.5.7 segfaults when opening the main panel with qt 5.7 but qt 5.8 is OK
|
||||||
qsyncthingtray = libsForQt56.callPackage ../applications/misc/qsyncthingtray { };
|
qsyncthingtray = libsForQt5.callPackage ../applications/misc/qsyncthingtray { };
|
||||||
|
|
||||||
qsynth = callPackage ../applications/audio/qsynth { };
|
qsynth = callPackage ../applications/audio/qsynth { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user