parent
86c51f68bc
commit
2d582d641b
|
@ -14,17 +14,18 @@
|
|||
, srtp
|
||||
, jemalloc
|
||||
, pcre2
|
||||
, hiredis
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oven-media-engine";
|
||||
version = "0.13.2";
|
||||
version = "0.14.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AirenSoft";
|
||||
repo = "OvenMediaEngine";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lkpidx4r890mcdk9m69j4iahm7qr7w34h11w1nmi132v0rqm0h8";
|
||||
sha256 = "09diqgv5pbv8igb4x9lzrmaf5ic1fd3m8y7rlpwh4w145qwjxc8y";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
@ -32,13 +33,17 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ bc pkg-config perl ];
|
||||
buildInputs = [ openssl srt zlib ffmpeg libvpx libopus srtp jemalloc pcre2 libuuid ];
|
||||
buildInputs = [ openssl srt zlib ffmpeg libvpx libopus srtp jemalloc pcre2 libuuid hiredis ];
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs core/colorg++
|
||||
patchShebangs core/colorgcc
|
||||
patchShebangs projects/main/update_git_info.sh
|
||||
|
||||
sed -i -e 's/const AVOutputFormat /AVOutputFormat /g' \
|
||||
projects/modules/mpegts/mpegts_writer.cpp \
|
||||
projects/modules/file/file_writer.cpp \
|
||||
projects/modules/rtmp/rtmp_writer.cpp
|
||||
sed -i -e '/^CC =/d' -e '/^CXX =/d' -e '/^AR =/d' projects/third_party/pugixml-1.9/scripts/pugixml.make
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue