diff options
Diffstat (limited to 'pkgs/development/libraries/mediastreamer')
-rw-r--r-- | pkgs/development/libraries/mediastreamer/default.nix | 32 | ||||
-rw-r--r-- | pkgs/development/libraries/mediastreamer/msopenh264.nix | 8 |
2 files changed, 20 insertions, 20 deletions
diff --git a/pkgs/development/libraries/mediastreamer/default.nix b/pkgs/development/libraries/mediastreamer/default.nix index 81c7c8fcacf..5d9cc98b1a9 100644 --- a/pkgs/development/libraries/mediastreamer/default.nix +++ b/pkgs/development/libraries/mediastreamer/default.nix @@ -1,14 +1,14 @@ -{ alsaLib +{ alsa-lib , bctoolbox , bzrtp , cmake , doxygen , fetchFromGitLab -, fetchpatch -, ffmpeg_3 +, ffmpeg , glew , gsm , intltool +, lib , libGL , libGLU , libX11 @@ -23,8 +23,8 @@ , libv4l , libvpx , ortp -, pkgconfig -, python +, pkg-config +, python3 , SDL , speex , srtp @@ -33,17 +33,15 @@ stdenv.mkDerivation rec { pname = "mediastreamer2"; - # Using master branch for linphone-desktop caused a chain reaction that many - # of its dependencies needed to use master branch too. - version = "unstable-2020-03-20"; + version = "4.5.15"; src = fetchFromGitLab { domain = "gitlab.linphone.org"; owner = "public"; group = "BC"; repo = pname; - rev = "c5eecb72cb44376d142949051dd0cb7c982608fb"; - sha256 = "1vp260jxvjlmrmjdl4p23prg4cjln20a7z6zq8dqvfh4iq3ya033"; + rev = version; + sha256 = "sha256-n/EuXEQ9nJKC32PMvWkfP1G+E6uQQuu1/A168n8/cIY="; }; patches = [ @@ -59,15 +57,15 @@ stdenv.mkDerivation rec { cmake doxygen intltool - pkgconfig - python + pkg-config + python3 ]; propagatedBuildInputs = [ - alsaLib + alsa-lib bctoolbox bzrtp - ffmpeg_3 + ffmpeg glew gsm libGL @@ -89,6 +87,8 @@ stdenv.mkDerivation rec { srtp ]; + strictDeps = true; + # Do not build static libraries cmakeFlags = [ "-DENABLE_STATIC=NO" ]; @@ -101,10 +101,10 @@ stdenv.mkDerivation rec { ]; NIX_LDFLAGS = "-lXext"; - meta = with stdenv.lib; { + meta = with lib; { description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications"; homepage = "http://www.linphone.org/technical-corner/mediastreamer2"; - license = licenses.gpl3; + license = licenses.gpl3Only; platforms = platforms.linux; maintainers = with maintainers; [ jluttine ]; }; diff --git a/pkgs/development/libraries/mediastreamer/msopenh264.nix b/pkgs/development/libraries/mediastreamer/msopenh264.nix index 45b3c83bfe2..08842889f86 100644 --- a/pkgs/development/libraries/mediastreamer/msopenh264.nix +++ b/pkgs/development/libraries/mediastreamer/msopenh264.nix @@ -4,8 +4,8 @@ , fetchpatch , mediastreamer , openh264 -, pkgconfig -, stdenv +, pkg-config +, lib, stdenv }: stdenv.mkDerivation rec { @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { sha256 = "140hs5lzpshzswvl39klcypankq3v2qck41696j22my7s4wsa0hr"; }; - nativeBuildInputs = [ autoreconfHook cmake pkgconfig ]; + nativeBuildInputs = [ autoreconfHook cmake pkg-config ]; buildInputs = [ mediastreamer openh264 ]; # Do not build static libraries @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { cp src/libmsopenh264.so $out/lib/mediastreamer/plugins/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "H.264 encoder/decoder plugin for mediastreamer2"; homepage = "https://www.linphone.org/technical-corner/mediastreamer2"; license = licenses.gpl2; |