mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #285095 from mfrischknecht/update-grandorgue
grandorgue: 3.11.0 -> 3.14.0
This commit is contained in:
commit
81fcecbdcd
@ -1,18 +1,34 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fftwFloat, alsa-lib
|
||||
, zlib, wavpack, wxGTK32, udev, jackaudioSupport ? false, libjack2
|
||||
, imagemagick, libicns, makeWrapper, Cocoa
|
||||
, includeDemo ? true }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, fftwFloat
|
||||
, alsa-lib
|
||||
, zlib
|
||||
, wavpack
|
||||
, wxGTK32
|
||||
, udev
|
||||
, jackaudioSupport ? false
|
||||
, libjack2
|
||||
, imagemagick
|
||||
, libicns
|
||||
, yaml-cpp
|
||||
, makeWrapper
|
||||
, Cocoa
|
||||
, includeDemo ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grandorgue";
|
||||
version = "3.11.0";
|
||||
version = "3.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GrandOrgue";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-l1KqER/vkNwgKLXIFUzHnYLw2ivGNP7hRiKhIOzn7pw=";
|
||||
hash = "sha256-kPz11V2yNmBe80egNLYxh/m2B1nDca3C5sGbEnrkqnw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -24,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config imagemagick libicns makeWrapper ];
|
||||
|
||||
buildInputs = [ fftwFloat zlib wavpack wxGTK32 ]
|
||||
buildInputs = [ fftwFloat zlib wavpack wxGTK32 yaml-cpp ]
|
||||
++ lib.optionals stdenv.isLinux [ alsa-lib udev ]
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa ]
|
||||
++ lib.optional jackaudioSupport libjack2;
|
||||
@ -53,5 +69,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.puzzlewolf ];
|
||||
mainProgram = "GrandOrgue";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user