vgmstream: init at r1050-3448-g77cc431b
This commit is contained in:
parent
effd32025d
commit
9bae5108d5
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
unxwb = callPackage ./unxwb { };
|
unxwb = callPackage ./unxwb { };
|
||||||
|
|
||||||
|
vgmstream = callPackage ./vgmstream { };
|
||||||
|
|
||||||
VisiCut = callPackage ./VisiCut { };
|
VisiCut = callPackage ./VisiCut { };
|
||||||
|
|
||||||
x264-unstable = prev.x264.overrideAttrs (callPackage ./x264-unstable { });
|
x264-unstable = prev.x264.overrideAttrs (callPackage ./x264-unstable { });
|
||||||
|
@ -71,6 +73,7 @@
|
||||||
oha
|
oha
|
||||||
textidote
|
textidote
|
||||||
unxwb
|
unxwb
|
||||||
|
vgmstream
|
||||||
x264-unstable;
|
x264-unstable;
|
||||||
|
|
||||||
mpvScripts = lib.recurseIntoAttrs {
|
mpvScripts = lib.recurseIntoAttrs {
|
||||||
|
|
29
vgmstream/default.nix
Normal file
29
vgmstream/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fdk_aac, ffmpeg, jansson, libao, libvorbis, mpg123 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "vgmstream";
|
||||||
|
version = "r1050-3448-g77cc431b";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vgmstream";
|
||||||
|
repo = "vgmstream";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "030q02c9li14by7vm00gn6v3m4dxxmfwiy9iyz3xsgzq1i7pqc1d";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ fdk_aac ffmpeg jansson libao libvorbis mpg123 ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_AUDACIOUS=OFF"
|
||||||
|
"-DVGMSTREAM_VERSION=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A library for playback of various streamed audio formats used in video games";
|
||||||
|
homepage = "https://vgmstream.org/";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue