Merge pull request #67343 from jraygauthier/jrg/teamviewer_fix_61712
teamviewer: fix issue #61712
This commit is contained in:
commit
82291d6f1a
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
{ mkDerivation, lib, fetchurl, autoPatchelfHook, makeWrapper, xdg_utils, dbus
|
||||
, qtbase, qtwebkit, qtx11extras, qtquickcontrols, glibc, libXrandr, libX11
|
||||
, qtbase, qtwebkit, qtx11extras, qtquickcontrols, glibc
|
||||
, libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
|
||||
mkDerivation rec {
|
||||
name = "teamviewer-${version}";
|
||||
version = "14.5.1691";
|
||||
|
@ -44,8 +44,11 @@ mkDerivation rec {
|
|||
--replace '/lib64/ld-linux-x86-64.so.2' '${glibc.out}/lib/ld-linux-x86-64.so.2'
|
||||
substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_config \
|
||||
--replace '/var/run/' '/run/'
|
||||
|
||||
wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
|
||||
wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
|
||||
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
|
||||
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}"
|
||||
|
||||
wrapQtApp $out/bin/teamviewer
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue