SDL_audiolib: init at unstable-2022-04-17
This commit is contained in:
parent
a549a83b24
commit
47586fec7e
53
pkgs/development/libraries/SDL_audiolib/default.nix
Normal file
53
pkgs/development/libraries/SDL_audiolib/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -20033,6 +20033,8 @@ with pkgs;
|
||||||
libGLU = null;
|
libGLU = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
SDL_audiolib = callPackage ../development/libraries/SDL_audiolib { };
|
||||||
|
|
||||||
SDL_sixel = callPackage ../development/libraries/SDL_sixel { };
|
SDL_sixel = callPackage ../development/libraries/SDL_sixel { };
|
||||||
|
|
||||||
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
|
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
|
||||||
|
|
Loading…
Reference in a new issue