Merge pull request #171368 from ThibaultLemaire/update-linphone-4-4-1

linphone: Cleanup dependencies

authored by 7c6f434c and committed by GitHub 7bdbbba6 1324b2b7

+24 -181
+1 -69
pkgs/applications/networking/instant-messengers/linphone/default.nix
··· 1 - { bcg729 2 - , bctoolbox 3 - , bcunit 4 , belcard 5 , belle-sip 6 , belr 7 - , bzrtp 8 - , cairo 9 , cmake 10 - , cyrus_sasl 11 , fetchFromGitLab 12 - , fetchurl 13 - , ffmpeg 14 - , gdk-pixbuf 15 - , glib 16 - , graphviz 17 - , gtk2 18 - , intltool 19 , lib 20 - , libexosip 21 , liblinphone 22 - , libmatroska 23 - , libnotify 24 - , libosip 25 - , libsoup 26 - , libupnp 27 - , libX11 28 - , libxml2 29 - , makeWrapper 30 - , mbedtls 31 , mediastreamer 32 , mediastreamer-openh264 33 , minizip2 34 , mkDerivation 35 - , openldap 36 - , ortp 37 - , pango 38 - , pkg-config 39 - , qtbase 40 , qtgraphicaleffects 41 , qtquickcontrols2 42 , qttranslations 43 - , readline 44 - , speex 45 - , sqlite 46 - 47 - , udev 48 - , zlib 49 }: 50 51 # How to update Linphone? (The Qt desktop app) ··· 95 # linphone-desktop. 96 buildInputs = [ 97 # Made by BC 98 - bcg729 99 bctoolbox 100 belcard 101 belle-sip 102 belr 103 - bzrtp 104 liblinphone 105 mediastreamer 106 mediastreamer-openh264 107 - ortp 108 109 - # Vendored by BC but we use upstream, might cause problems 110 - libmatroska 111 - 112 - cairo 113 - cyrus_sasl 114 - ffmpeg 115 - gdk-pixbuf 116 - glib 117 - gtk2 118 - libX11 119 - libexosip 120 - libnotify 121 - libosip 122 - libsoup 123 - libupnp 124 - libxml2 125 - mbedtls 126 minizip2 127 - openldap 128 - pango 129 - qtbase 130 qtgraphicaleffects 131 qtquickcontrols2 132 qttranslations 133 - readline 134 - speex 135 - sqlite 136 - udev 137 - zlib 138 ]; 139 140 nativeBuildInputs = [ 141 - # Made by BC 142 - bcunit 143 - 144 cmake 145 - graphviz 146 - intltool 147 - makeWrapper 148 - pkg-config 149 ]; 150 151 cmakeFlags = [
··· 1 + { bctoolbox 2 , belcard 3 , belle-sip 4 , belr 5 , cmake 6 , fetchFromGitLab 7 , lib 8 , liblinphone 9 , mediastreamer 10 , mediastreamer-openh264 11 , minizip2 12 , mkDerivation 13 , qtgraphicaleffects 14 , qtquickcontrols2 15 , qttranslations 16 }: 17 18 # How to update Linphone? (The Qt desktop app) ··· 62 # linphone-desktop. 63 buildInputs = [ 64 # Made by BC 65 bctoolbox 66 belcard 67 belle-sip 68 belr 69 liblinphone 70 mediastreamer 71 mediastreamer-openh264 72 73 minizip2 74 qtgraphicaleffects 75 qtquickcontrols2 76 qttranslations 77 ]; 78 79 nativeBuildInputs = [ 80 cmake 81 ]; 82 83 cmakeFlags = [
+4 -2
pkgs/development/libraries/belcard/default.nix
··· 22 buildInputs = [ bctoolbox belr ]; 23 nativeBuildInputs = [ cmake ]; 24 25 - # Do not build static libraries 26 - cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 27 28 meta = with lib; { 29 description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";
··· 22 buildInputs = [ bctoolbox belr ]; 23 nativeBuildInputs = [ cmake ]; 24 25 + cmakeFlags = [ 26 + "-DENABLE_STATIC=NO" # Do not build static libraries 27 + "-DENABLE_UNIT_TESTS=NO" # Do not build test executables 28 + ]; 29 30 meta = with lib; { 31 description = "C++ library to manipulate VCard standard format. Part of the Linphone project.";
+7 -75
pkgs/development/libraries/liblinphone/default.nix
··· 1 - { bcg729 2 - , bctoolbox 3 - , bcunit 4 , belcard 5 , belle-sip 6 , belr 7 - , bzrtp 8 - , cairo 9 , cmake 10 - , cyrus_sasl 11 , doxygen 12 , fetchFromGitLab 13 - , ffmpeg 14 - , gdk-pixbuf 15 - , glib 16 - , graphviz 17 - , gtk2 18 - , intltool 19 , jsoncpp 20 - , libexosip 21 - , libmatroska 22 - , libnotify 23 - , libosip 24 - , libsoup 25 - , libupnp 26 - , libX11 27 , libxml2 28 , lime 29 - , makeWrapper 30 - , mbedtls 31 , mediastreamer 32 - , openldap 33 - , ortp 34 - , pango 35 - , pkg-config 36 , python3 37 - , readline 38 , bc-soci 39 - , boost 40 - , speex 41 , sqlite 42 , lib 43 , stdenv 44 - , udev 45 , xercesc 46 - , xsd 47 - , zlib 48 }: 49 50 stdenv.mkDerivation rec { ··· 62 63 patches = [ ./use-normal-jsoncpp.patch ]; 64 65 - # Do not build static libraries 66 - cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 67 68 - # TODO: Not sure if all these inputs are actually needed. Most of them were 69 - # defined when liblinphone and linphone-desktop weren't separated yet, so some 70 - # of them might not be needed for liblinphone alone. 71 buildInputs = [ 72 - (python3.withPackages (ps: [ ps.pystache ps.six ])) 73 - 74 # Made by BC 75 - bcg729 76 - bctoolbox 77 belcard 78 belle-sip 79 - belr 80 - bzrtp 81 lime 82 mediastreamer 83 - ortp 84 85 # Vendored by BC 86 bc-soci 87 88 - # Vendored by BC but we use upstream, might cause problems 89 - libmatroska 90 - 91 - cairo 92 - cyrus_sasl 93 - ffmpeg 94 - gdk-pixbuf 95 - glib 96 - gtk2 97 - libX11 98 - libexosip 99 - libnotify 100 - libosip 101 - libsoup 102 - libupnp 103 libxml2 104 - mbedtls 105 - openldap 106 - pango 107 - readline 108 - boost 109 - speex 110 sqlite 111 - udev 112 xercesc 113 - xsd 114 - zlib 115 - jsoncpp 116 ]; 117 118 nativeBuildInputs = [ 119 - # Made by BC 120 - bcunit 121 - 122 cmake 123 doxygen 124 - graphviz 125 - intltool 126 - makeWrapper 127 - pkg-config 128 ]; 129 130 strictDeps = true;
··· 1 + { bctoolbox 2 , belcard 3 , belle-sip 4 , belr 5 , cmake 6 , doxygen 7 , fetchFromGitLab 8 , jsoncpp 9 , libxml2 10 , lime 11 , mediastreamer 12 , python3 13 , bc-soci 14 , sqlite 15 , lib 16 , stdenv 17 , xercesc 18 }: 19 20 stdenv.mkDerivation rec { ··· 32 33 patches = [ ./use-normal-jsoncpp.patch ]; 34 35 + cmakeFlags = [ 36 + "-DENABLE_STATIC=NO" # Do not build static libraries 37 + "-DENABLE_UNIT_TESTS=NO" # Do not build test executables 38 + ]; 39 40 buildInputs = [ 41 # Made by BC 42 belcard 43 belle-sip 44 lime 45 mediastreamer 46 47 # Vendored by BC 48 bc-soci 49 50 + jsoncpp 51 libxml2 52 + (python3.withPackages (ps: [ ps.pystache ps.six ])) 53 sqlite 54 xercesc 55 ]; 56 57 nativeBuildInputs = [ 58 cmake 59 doxygen 60 ]; 61 62 strictDeps = true;
+4 -4
pkgs/development/libraries/lime/default.nix
··· 5 , lib 6 , bc-soci 7 , sqlite 8 - , boost 9 , stdenv 10 }: 11 ··· 31 bc-soci 32 33 sqlite 34 - boost 35 ]; 36 nativeBuildInputs = [ cmake ]; 37 38 - # Do not build static libraries 39 - cmakeFlags = [ "-DENABLE_STATIC=NO" ]; 40 41 meta = with lib; { 42 description = "End-to-end encryption library for instant messaging. Part of the Linphone project.";
··· 5 , lib 6 , bc-soci 7 , sqlite 8 , stdenv 9 }: 10 ··· 30 bc-soci 31 32 sqlite 33 ]; 34 nativeBuildInputs = [ cmake ]; 35 36 + cmakeFlags = [ 37 + "-DENABLE_STATIC=NO" # Do not build static libraries 38 + "-DENABLE_UNIT_TESTS=NO" # Do not build test executables 39 + ]; 40 41 meta = with lib; { 42 description = "End-to-end encryption library for instant messaging. Part of the Linphone project.";
+7 -30
pkgs/development/libraries/mediastreamer/default.nix
··· 1 - { alsa-lib 2 - , bctoolbox 3 , bzrtp 4 , cmake 5 - , doxygen 6 , fetchFromGitLab 7 , ffmpeg 8 , glew 9 , gsm 10 - , intltool 11 , lib 12 - , libGL 13 - , libGLU 14 , libX11 15 , libXext 16 - , libXv 17 - , libmatroska 18 , libopus 19 - , libpcap 20 , libpulseaudio 21 - , libtheora 22 - , libupnp 23 , libv4l 24 , libvpx 25 , ortp 26 - , pkg-config 27 , python3 28 , qtbase 29 , qtdeclarative 30 - , SDL 31 , speex 32 , srtp 33 , stdenv ··· 59 60 nativeBuildInputs = [ 61 cmake 62 - doxygen 63 - intltool 64 - pkg-config 65 python3 66 qtbase 67 qtdeclarative ··· 73 bzrtp 74 ortp 75 76 - # Vendored by BC but we use upstream, might cause problems 77 - libmatroska 78 - 79 - alsa-lib 80 ffmpeg 81 glew 82 - gsm 83 - libGL 84 - libGLU 85 libX11 86 libXext 87 - libXv 88 - libopus 89 - libpcap 90 libpulseaudio 91 - libtheora 92 - libupnp 93 libv4l 94 - libvpx 95 - SDL 96 speex 97 srtp 98 ]; 99 100 strictDeps = true; ··· 104 "-DENABLE_QT_GL=ON" # Build necessary MSQOGL plugin for Linphone desktop 105 "-DCMAKE_C_FLAGS=-DGIT_VERSION=\"v${version}\"" 106 "-DENABLE_STRICT=NO" # Disable -Werror 107 ]; 108 109 NIX_LDFLAGS = "-lXext";
··· 1 + { bctoolbox 2 , bzrtp 3 , cmake 4 , fetchFromGitLab 5 , ffmpeg 6 , glew 7 , gsm 8 , lib 9 , libX11 10 , libXext 11 , libopus 12 , libpulseaudio 13 , libv4l 14 , libvpx 15 , ortp 16 , python3 17 , qtbase 18 , qtdeclarative 19 , speex 20 , srtp 21 , stdenv ··· 47 48 nativeBuildInputs = [ 49 cmake 50 python3 51 qtbase 52 qtdeclarative ··· 58 bzrtp 59 ortp 60 61 ffmpeg 62 glew 63 libX11 64 libXext 65 libpulseaudio 66 libv4l 67 speex 68 srtp 69 + 70 + # Optional 71 + gsm # GSM audio codec 72 + libopus # Opus audio codec 73 + libvpx # VP8 video codec 74 ]; 75 76 strictDeps = true; ··· 80 "-DENABLE_QT_GL=ON" # Build necessary MSQOGL plugin for Linphone desktop 81 "-DCMAKE_C_FLAGS=-DGIT_VERSION=\"v${version}\"" 82 "-DENABLE_STRICT=NO" # Disable -Werror 83 + "-DENABLE_UNIT_TESTS=NO" # Do not build test executables 84 ]; 85 86 NIX_LDFLAGS = "-lXext";
+1 -1
pkgs/development/libraries/mediastreamer/msopenh264.nix
··· 22 sha256 = "sha256-AqZ7tsNZw2Djgyo1JBJbT/c3eQVyEn6r3CT6DQLD/B8="; 23 }; 24 25 - nativeBuildInputs = [ autoreconfHook cmake pkg-config ]; 26 buildInputs = [ mediastreamer openh264 ]; 27 28 # Do not build static libraries
··· 22 sha256 = "sha256-AqZ7tsNZw2Djgyo1JBJbT/c3eQVyEn6r3CT6DQLD/B8="; 23 }; 24 25 + nativeBuildInputs = [ cmake ]; 26 buildInputs = [ mediastreamer openh264 ]; 27 28 # Do not build static libraries