Merge pull request #51654 from plapadoo/libopusenc-init-0.2.1

libopusenc: init at 0.2.1
This commit is contained in:
Alexey Shmalko 2018-12-07 15:07:19 +02:00 committed by GitHub
commit 12bacf1fca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, pkgconfig, libopus }:
let
version = "0.2.1";
in
stdenv.mkDerivation rec {
name = "libopusenc-${version}";
src = fetchurl {
url = "https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz";
sha256 = "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642";
};
outputs = [ "out" "dev" ];
doCheck = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libopus ];
meta = with stdenv.lib; {
description = "Library for encoding .opus audio files and live streams";
license = licenses.bsd3;
homepage = http://www.opus-codec.org/;
platforms = platforms.unix;
maintainers = with maintainers; [ pmiddend ];
};
}

View File

@ -11123,6 +11123,8 @@ in
libopus = callPackage ../development/libraries/libopus { };
libopusenc = callPackage ../development/libraries/libopusenc { };
libosinfo = callPackage ../development/libraries/libosinfo {
inherit (gnome3) libsoup;
};