3
0
Fork 0
forked from mirrors/nixpkgs

vgmstream: init at r1050-3738-g7cfa1f29 (#125492)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Zane van Iperen 2021-06-10 19:13:30 +00:00 committed by GitHub
parent f8fe3cbe9c
commit 19ff8bd943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
, mpg123, ffmpeg, libvorbis, libao, jansson
}:
stdenv.mkDerivation rec {
pname = "vgmstream";
version = "r1050-3448-g77cc431b";
src = fetchFromGitHub {
owner = "vgmstream";
repo = "vgmstream";
rev = version;
sha256 = "030q02c9li14by7vm00gn6v3m4dxxmfwiy9iyz3xsgzq1i7pqc1d";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ mpg123 ffmpeg libvorbis libao jansson ];
# There's no nice way to build the audacious plugin without a circular dependency
cmakeFlags = [ "-DBUILD_AUDACIOUS=OFF" ];
preConfigure = ''
echo "#define VERSION \"${version}\"" > cli/version.h
'';
meta = with lib; {
description = "A library for playback of various streamed audio formats used in video games";
homepage = "https://vgmstream.org";
maintainers = with maintainers; [ zane ];
license = with licenses; isc;
platforms = with platforms; unix;
};
}

View file

@ -31299,6 +31299,8 @@ in
vbam = callPackage ../misc/emulators/vbam { };
vgmstream = callPackage ../applications/audio/vgmstream { };
vice = callPackage ../misc/emulators/vice { };
ViennaRNA = callPackage ../applications/science/molecular-dynamics/viennarna { };