mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #53659 from gnidorah/adlplug
adlplug, opnplug: init at 1.0.0-beta.5
This commit is contained in:
commit
b8d7c0cab5
33
pkgs/applications/audio/adlplug/default.nix
Normal file
33
pkgs/applications/audio/adlplug/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libjack2, alsaLib
|
||||
, freetype, libX11, libXrandr, libXinerama, libXext, libXcursor
|
||||
, adlplugChip ? "-DADLplug_CHIP=OPL3"
|
||||
, pname ? "ADLplug" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "v1.0.0-beta.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpcima";
|
||||
repo = "ADLplug";
|
||||
rev = version;
|
||||
sha256 = "1f8v61nv33xwpzmmk38dkr3fvm2j2xf0a74agxnl9p1yvy3a9w3s";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cmakeFlags = [ adlplugChip ];
|
||||
|
||||
buildInputs = [
|
||||
libjack2 alsaLib freetype libX11 libXrandr libXinerama libXext
|
||||
libXcursor
|
||||
];
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Synthesizer plugin for ADLMIDI and OPNMIDI (VST/LV2)";
|
||||
homepage = src.meta.homepage;
|
||||
license = licenses.boost;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ gnidorah ];
|
||||
};
|
||||
}
|
@ -404,6 +404,13 @@ in
|
||||
|
||||
actkbd = callPackage ../tools/system/actkbd { };
|
||||
|
||||
adlplug = callPackage ../applications/audio/adlplug { };
|
||||
|
||||
opnplug = callPackage ../applications/audio/adlplug {
|
||||
adlplugChip = "-DADLplug_CHIP=OPN2";
|
||||
pname = "OPNplug";
|
||||
};
|
||||
|
||||
advancecomp = callPackage ../tools/compression/advancecomp {};
|
||||
|
||||
aefs = callPackage ../tools/filesystems/aefs { };
|
||||
|
Loading…
Reference in New Issue
Block a user