Merge pull request #98876 from suhr/audec

libaudec: init at 0.2.4
This commit is contained in:
Sandro 2021-02-09 09:56:30 +01:00 committed by GitHub
commit df84d24f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub
, libsndfile, libsamplerate
, meson, ninja, pkg-config
}:
stdenv.mkDerivation rec {
pname = "libaudec";
version = "0.2.4";
src = fetchFromGitHub {
owner = "zrythm";
repo = "libaudec";
rev = "v${version}";
sha256 = "1570m2dfia17dbkhd2qhx8jjihrpm7g8nnyg6n4wif4vv229s7dz";
};
buildInputs = [ libsndfile libsamplerate ];
nativeBuildInputs = [ meson ninja pkg-config ];
meta = with lib; {
homepage = "https://www.zrythm.org";
description = "A library for reading and resampling audio files";
license = licenses.agpl3Plus;
platforms = platforms.all;
};
}

View File

@ -14534,6 +14534,8 @@ in
libaudclient = callPackage ../development/libraries/libaudclient { };
libaudec = callPackage ../development/libraries/libaudec { };
libav = libav_11; # branch 11 is API-compatible with branch 10
libav_all = callPackages ../development/libraries/libav { };
inherit (libav_all) libav_0_8 libav_11 libav_12;