mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
polyphone: init at 2.2.0
This commit is contained in:
parent
3171ef600b
commit
ab65cb50c8
2 changed files with 51 additions and 0 deletions
49
pkgs/applications/audio/polyphone/default.nix
Normal file
49
pkgs/applications/audio/polyphone/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, alsaLib, libjack2, portaudio, libogg, flac, libvorbis, rtmidi, qtsvg }:
|
||||||
|
|
||||||
|
mkDerivation rec {
|
||||||
|
version = "2.2.0";
|
||||||
|
pname = "polyphone";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "davy7125";
|
||||||
|
repo = "polyphone";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0w5pidzhpwpggjn5la384fvjzkvprvrnidb06068whci11kgpbp7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib
|
||||||
|
libjack2
|
||||||
|
portaudio
|
||||||
|
libogg
|
||||||
|
flac
|
||||||
|
libvorbis
|
||||||
|
rtmidi
|
||||||
|
qtsvg
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake pkgconfig ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
cd ./sources/
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -d $out/bin
|
||||||
|
install -m755 bin/polyphone $out/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
|
qmakeFlags = [
|
||||||
|
"DEFINES+=USE_LOCAL_STK"
|
||||||
|
"DEFINES+=USE_LOCAL_QCUSTOMPLOT"
|
||||||
|
"INCLUDEPATH+=${libjack2}/include/jack"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A soundfont editor for creating musical instruments";
|
||||||
|
homepage = https://www.polyphone-soundfonts.com/;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.maxdamantus ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -20844,6 +20844,8 @@ in
|
||||||
i3GapsSupport = false;
|
i3GapsSupport = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
polyphone = libsForQt5.callPackage ../applications/audio/polyphone { };
|
||||||
|
|
||||||
ptex = callPackage ../development/libraries/ptex {};
|
ptex = callPackage ../development/libraries/ptex {};
|
||||||
|
|
||||||
qbec = callPackage ../applications/networking/cluster/qbec { };
|
qbec = callPackage ../applications/networking/cluster/qbec { };
|
||||||
|
|
Loading…
Reference in a new issue