about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/linphone
diff options
context:
space:
mode:
authorThibault Lemaire <thibault.lemaire@protonmail.com>2022-04-21 16:40:39 +0200
committerThibault Lemaire <thibault.lemaire@protonmail.com>2022-05-03 10:26:29 +0200
commitfe8f77c2c086440e8756cba0abf42e7f1b155015 (patch)
tree4d22fe364a01147649ce9914655e5be991a40e9f /pkgs/applications/networking/instant-messengers/linphone
parentdefbaa09f138c134b33eb32c65b00f095ec0b82d (diff)
linphone: Cleanup dependencies
A lot of bloat had been accumulated through updates (e.g. with linphone
migrating from Gtk to Qt, or linphone being split to liblinphone &
linphone-desktop).

Method: Through trial and error. Delete all dependencies, try to build, try to
run, reintroduce missing dependencies.

I have tested everything I could, but it is possible that some optional
features have been silently disabled with dependencies not being found now.
(Codecs, encryption schemes, etc...)
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/linphone')
-rw-r--r--pkgs/applications/networking/instant-messengers/linphone/default.nix70
1 files changed, 1 insertions, 69 deletions
diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix
index 3b11f7fc1a89a..306a53f0a3c0e 100644
--- a/pkgs/applications/networking/instant-messengers/linphone/default.nix
+++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix
@@ -1,51 +1,18 @@
-{ bcg729
-, bctoolbox
-, bcunit
+{ bctoolbox
 , belcard
 , belle-sip
 , belr
-, bzrtp
-, cairo
 , cmake
-, cyrus_sasl
 , fetchFromGitLab
-, fetchurl
-, ffmpeg
-, gdk-pixbuf
-, glib
-, graphviz
-, gtk2
-, intltool
 , lib
-, libexosip
 , liblinphone
-, libmatroska
-, libnotify
-, libosip
-, libsoup
-, libupnp
-, libX11
-, libxml2
-, makeWrapper
-, mbedtls
 , mediastreamer
 , mediastreamer-openh264
 , minizip2
 , mkDerivation
-, openldap
-, ortp
-, pango
-, pkg-config
-, qtbase
 , qtgraphicaleffects
 , qtquickcontrols2
 , qttranslations
-, readline
-, speex
-, sqlite
-
-, udev
-, zlib
 }:
 
 # How to update Linphone? (The Qt desktop app)
@@ -95,57 +62,22 @@ mkDerivation rec {
   # linphone-desktop.
   buildInputs = [
     # Made by BC
-    bcg729
     bctoolbox
     belcard
     belle-sip
     belr
-    bzrtp
     liblinphone
     mediastreamer
     mediastreamer-openh264
-    ortp
-
-    # Vendored by BC but we use upstream, might cause problems
-    libmatroska
 
-    cairo
-    cyrus_sasl
-    ffmpeg
-    gdk-pixbuf
-    glib
-    gtk2
-    libX11
-    libexosip
-    libnotify
-    libosip
-    libsoup
-    libupnp
-    libxml2
-    mbedtls
     minizip2
-    openldap
-    pango
-    qtbase
     qtgraphicaleffects
     qtquickcontrols2
     qttranslations
-    readline
-    speex
-    sqlite
-    udev
-    zlib
   ];
 
   nativeBuildInputs = [
-    # Made by BC
-    bcunit
-
     cmake
-    graphviz
-    intltool
-    makeWrapper
-    pkg-config
   ];
 
   cmakeFlags = [