Added libaom

This commit is contained in:
kiloreux 2018-03-30 11:05:47 +01:00
parent dc13867e99
commit 4e81ab3425
No known key found for this signature in database
GPG Key ID: 8B81EA3FA91EB758

View File

@ -0,0 +1,25 @@
{ stdenv, fetchgit, yasm, perl, cmake, pkgconfig }:
stdenv.mkDerivation rec {
name = "libaom-0.1.0";
src = fetchgit {
url = "https://aomedia.googlesource.com/aom";
rev = "105e9b195bb90c9b06edcbcb13b6232dab6db0b7";
sha256 = "1fl2sca4df01gyn00s0xcwwirxccfnjppvjdrxdnb8f2naj721by";
};
buildInputs = [ perl yasm ];
nativeBuildInputs = [ cmake pkgconfig ];
cmakeFlags = [
"-DCONFIG_UNIT_TESTS=0"
];
meta = with stdenv.lib; {
description = "AV1 Bitstream and Decoding Library";
homepage = https://aomedia.org/av1-features/get-started/;
maintainers = with maintainers; [ kiloreux ];
platforms = platforms.all;
};
}