Commit 49a5c643 authored by Atemu's avatar Atemu
Browse files

teamspeak_client: remove unnecessary dependencies

I honestly don't know what these are here for but they're not in any of the
binaries' NEEDED sections, so let's yeet them.

autoPatchelfHook ensures we have all required libraries.
parent 9db530c9
Loading
Loading
Loading
Loading
+13 −40
Original line number Diff line number Diff line
@@ -5,20 +5,10 @@
  fetchzip,
  makeWrapper,
  makeDesktopItem,
  zlib,
  glib,
  libpng,
  freetype,
  openssl,
  xorg,
  fontconfig,
  qt5,
  libsForQt5,
  xkeyboard_config,
  alsa-lib,
  libpulseaudio ? null,
  libredirect,
  which,
  perl,
  libcxx,
  autoPatchelfHook,
@@ -57,40 +47,23 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [
    makeWrapper
    which
    perl # Installer script needs `shasum`
    qt5.wrapQtAppsHook
    autoPatchelfHook
  ];

  buildInputs = [
    zlib
    glib
    libpng
    freetype
    xorg.libSM
    xorg.libICE
    xorg.libXrender
    openssl
    xorg.libXrandr
    xorg.libXfixes
    xorg.libXcursor
    xorg.libXinerama
    xorg.libxcb
    fontconfig
    xorg.libXext
    xorg.libX11
    alsa-lib
    libpulseaudio
  buildInputs =
    [
      libsForQt5.quazip
      glib
      libcxx
    libredirect
  ] ++ (with qt5; [
    ]
    ++ (with qt5; [
      qtbase
      qtwebengine
      qtwebchannel
    qtsvg
      qtwebsockets
      qtsvg
    ]);

  # This just runs the installer script. If it gets stuck at something like