24 stdenv.mkDerivation rec {
25 pname = "mediastreamer2";
28 dontWrapQtApps = true;
30 src = fetchFromGitLab {
31 domain = "gitlab.linphone.org";
36 sha256 = "sha256-u8YqF5BzyYIF9+XB90Eu6DlwXuu1FDOJUzxebj0errU=";
40 # Plugins directory is normally fixed during compile time. This patch makes
41 # it possible to set the plugins directory run time with an environment
42 # variable MEDIASTREAMER_PLUGINS_DIR. This makes it possible to construct a
43 # plugin directory with desired plugins and wrap executables so that the
44 # environment variable points to that directory.
55 propagatedBuildInputs = [
72 libopus # Opus audio codec
73 libvpx # VP8 video codec
79 "-DENABLE_STATIC=NO" # Do not build static libraries
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
86 NIX_LDFLAGS = "-lXext";
89 description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications. Part of the Linphone project";
90 homepage = "http://www.linphone.org/technical-corner/mediastreamer2";
91 license = licenses.gpl3Only;
92 platforms = platforms.linux;
93 maintainers = with maintainers; [ jluttine ];