2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, autoreconfHook, pkgconfig, mediastreamer, openh264
|
2016-09-06 16:40:10 +01:00
|
|
|
, fetchgit, cmake
|
|
|
|
}:
|
2015-08-26 21:16:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mediastreamer-openh264-${version}";
|
2016-09-06 16:40:10 +01:00
|
|
|
version = "0.0pre20160801";
|
2015-08-26 21:16:28 +01:00
|
|
|
|
2016-09-06 16:40:10 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.linphone.org/msopenh264.git";
|
|
|
|
rev = "4cb4b134bf0f1538fd0c2c928eee2d5388115abc";
|
|
|
|
sha256 = "001km4xy1ifwbg1c19ncc75h867fzfcxy9pxvl4pxqb64169xc1k";
|
2015-08-26 21:16:28 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:03:42 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ mediastreamer openh264 ];
|
2015-08-26 21:16:28 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "H.264 encoder/decoder plugin for mediastreamer2";
|
|
|
|
homepage = http://www.linphone.org/technical-corner/mediastreamer2/overview;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|