2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, autoreconfHook, pkgconfig, mediastreamer, openh264
|
2016-09-06 17:40:10 +02:00
|
|
|
, fetchgit, cmake
|
|
|
|
}:
|
2015-08-26 22:16:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mediastreamer-openh264-${version}";
|
2016-09-06 17:40:10 +02:00
|
|
|
version = "0.0pre20160801";
|
2015-08-26 22:16:28 +02:00
|
|
|
|
2016-09-06 17:40:10 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.linphone.org/msopenh264.git";
|
|
|
|
rev = "4cb4b134bf0f1538fd0c2c928eee2d5388115abc";
|
|
|
|
sha256 = "001km4xy1ifwbg1c19ncc75h867fzfcxy9pxvl4pxqb64169xc1k";
|
2015-08-26 22:16:28 +02:00
|
|
|
};
|
|
|
|
|
2017-09-06 00:03:42 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ mediastreamer openh264 ];
|
2015-08-26 22:16:28 +02: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;
|
|
|
|
};
|
|
|
|
}
|