SDL_audiolib: init at unstable-2022-04-17

This commit is contained in:
Sandro Jäckel 2022-04-17 02:56:04 +02:00
parent a549a83b24
commit 47586fec7e
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, SDL2
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "SDL_audiolib";
version = "unstable-2022-04-17";
src = fetchFromGitHub {
owner = "realnc";
repo = "SDL_audiolib";
rev = "908214606387ef8e49aeacf89ce848fb36f694fc";
sha256 = "sha256-11KkwIhG1rX7yDFSj92NJRO9L2e7XZGq2gOJ54+sN/A=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
SDL2
];
cmakeFlags = [
"-DUSE_RESAMP_SRC=OFF"
"-DUSE_RESAMP_SOXR=OFF"
"-DUSE_DEC_DRFLAC=OFF"
"-DUSE_DEC_OPENMPT=OFF"
"-DUSE_DEC_XMP=OFF"
"-DUSE_DEC_MODPLUG=OFF"
"-DUSE_DEC_MPG123=OFF"
"-DUSE_DEC_SNDFILE=OFF"
"-DUSE_DEC_LIBVORBIS=OFF"
"-DUSE_DEC_LIBOPUSFILE=OFF"
"-DUSE_DEC_MUSEPACK=OFF"
"-DUSE_DEC_FLUIDSYNTH=OFF"
"-DUSE_DEC_BASSMIDI=OFF"
"-DUSE_DEC_WILDMIDI=OFF"
"-DUSE_DEC_ADLMIDI=OFF"
];
meta = with lib; {
description = "Audio decoding, resampling and mixing library for SDL";
homepage = "https://github.com/realnc/SDL_audiolib";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -20033,6 +20033,8 @@ with pkgs;
libGLU = null;
});
SDL_audiolib = callPackage ../development/libraries/SDL_audiolib { };
SDL_sixel = callPackage ../development/libraries/SDL_sixel { };
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };