Merge pull request #152092 from hirenashah/sfizz-update
sfizz: 0.5.1 -> 1.1.1
This commit is contained in:
commit
41d4fbf652
@ -1,18 +1,16 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub, libjack2, libsndfile, xorg, freetype
|
||||||
, libjack2, libsndfile, xorg, freetype, libxkbcommon
|
, libxkbcommon, cairo, glib, gnome, flac, libogg, libvorbis, libopus, cmake
|
||||||
, cairo, glib, gnome, flac, libogg, libvorbis, libopus
|
, pango, pkg-config }:
|
||||||
, cmake, pkg-config
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sfizz";
|
pname = "sfizz";
|
||||||
version = "0.5.1";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sfztools";
|
owner = "sfztools";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-3RdY5+BPsdk6vctDy24w5aJsVOV9qzSgXs62Pm5UEKs=";
|
sha256 = "1gzpbns89j6ggzfjjvyhgigynsv20synrs7lmc32hwp4g73l0j7n";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -37,18 +35,18 @@ stdenv.mkDerivation rec {
|
|||||||
glib
|
glib
|
||||||
gnome.zenity
|
gnome.zenity
|
||||||
freetype
|
freetype
|
||||||
|
pango
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \
|
substituteInPlace plugins/editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \
|
||||||
--replace '"/usr/bin/zenity' '"${gnome.zenity}/bin/zenity'
|
--replace 'zenitypath = "zenity"' 'zenitypath = "${gnome.zenity}/bin/zenity"'
|
||||||
|
substituteInPlace plugins/editor/src/editor/NativeHelpers.cpp \
|
||||||
|
--replace '/usr/bin/zenity' '${gnome.zenity}/bin/zenity'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ];
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
"-DSFIZZ_TESTS=ON"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/sfztools/sfizz";
|
homepage = "https://github.com/sfztools/sfizz";
|
||||||
|
Loading…
Reference in New Issue
Block a user