teamviewer: 15.38.3 -> 15.49.2 (#276948)

* teamviewer: 15.38.3 -> 15.49.2

* teamviewer: add qtquickcontrols2
This commit is contained in:
Further 2024-03-24 01:21:37 +08:00 committed by GitHub
parent ee82708c94
commit f6570617a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
{ mkDerivation { mkDerivation
, lib , lib
, stdenv
, fetchurl , fetchurl
, autoPatchelfHook , autoPatchelfHook
, makeWrapper , makeWrapper
@ -8,6 +9,7 @@
, qtbase , qtbase
, qtwebengine , qtwebengine
, qtx11extras , qtx11extras
, qtquickcontrols2
, getconf , getconf
, glibc , glibc
, libXrandr , libXrandr
@ -26,12 +28,22 @@ mkDerivation rec {
pname = "teamviewer"; pname = "teamviewer";
# teamviewer itself has not development files but the dev output removes propagated other dev outputs from runtime # teamviewer itself has not development files but the dev output removes propagated other dev outputs from runtime
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
version = "15.38.3"; version = "15.49.2";
src = fetchurl { src =
url = "https://dl.tvcdn.de/download/linux/version_${lib.versions.major version}x/teamviewer_${version}_amd64.deb"; let
sha256 = "sha256-+GGpGV8rl15VQvPRA2PWngQI4VoxCrZ0ArEm9FgdOVE="; base_url = "https://dl.tvcdn.de/download/linux/version_${lib.versions.major version}x";
in
{
x86_64-linux = fetchurl {
url = "${base_url}/teamviewer_${version}_amd64.deb";
sha256 = "sha256-Ag41RQD4lp4Sxuz6wZwiFzVxUalV+M3Zwa2Cug4iNSM=";
}; };
aarch64-linux = fetchurl {
url = "${base_url}/teamviewer_${version}_arm64.deb";
sha256 = "sha256-JGSmFq4q8TQJVIrS6qQxIxZPNKgor+pFetextLJPHtg=";
};
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
unpackPhase = '' unpackPhase = ''
ar x $src ar x $src
@ -39,7 +51,7 @@ mkDerivation rec {
''; '';
nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ]; nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ];
buildInputs = [ qtbase qtwebengine qtx11extras icu63 ]; buildInputs = [ qtbase qtwebengine qtx11extras qtquickcontrols2 icu63 ];
installPhase = '' installPhase = ''
mkdir -p $out/share/teamviewer $out/bin $out/share/applications mkdir -p $out/share/teamviewer $out/bin $out/share/applications