3
0
Fork 0
forked from mirrors/nixpkgs

x2goclient: qt4 -> qt5 (#40811)

This commit is contained in:
averelld 2018-05-20 21:53:45 +02:00 committed by xeji
parent 74a0ff512c
commit e92d68e3ab
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh, makeWrapper, qt4 }:
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh,
makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon }:
stdenv.mkDerivation rec {
name = "x2goclient-${version}";
@ -9,18 +10,19 @@ stdenv.mkDerivation rec {
sha256 = "0jzlwn0v8b123h5l7hrhs35x2z6mb98zg1s0shqb4yfp2g641yp3";
};
buildInputs = [ cups libssh libXpm nxproxy openldap openssh qt4 ];
buildInputs = [ cups libssh libXpm nxproxy openldap openssh
qtbase qtsvg qtx11extras qttools phonon ];
nativeBuildInputs = [ makeWrapper ];
patchPhase = ''
substituteInPlace Makefile \
--replace "SHELL=/bin/bash" "SHELL=$SHELL" \
--replace "lrelease-qt4" "${qt4}/bin/lrelease" \
--replace "qmake-qt4" "${qt4}/bin/qmake" \
--replace "lrelease-qt4" "${qttools.dev}/bin/lrelease" \
--replace "qmake-qt4" "${qtbase.dev}/bin/qmake" \
--replace "-o root -g root" ""
'';
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" "build_client" "build_man" ];
enableParallelBuilding = true;

View file

@ -18692,7 +18692,7 @@ with pkgs;
x11vnc = callPackage ../tools/X11/x11vnc { };
x2goclient = callPackage ../applications/networking/remote/x2goclient { };
x2goclient = libsForQt5.callPackage ../applications/networking/remote/x2goclient { };
x2vnc = callPackage ../tools/X11/x2vnc { };