lol

Merge pull request #152092 from hirenashah/sfizz-update

sfizz: 0.5.1 -> 1.1.1

authored by

Bobby Rong and committed by
GitHub
41d4fbf6 7a1e506e

+11 -13
+11 -13
pkgs/applications/audio/sfizz/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , libjack2, libsndfile, xorg, freetype, libxkbcommon 3 - , cairo, glib, gnome, flac, libogg, libvorbis, libopus 4 - , cmake, pkg-config 5 - }: 1 + { lib, stdenv, fetchFromGitHub, libjack2, libsndfile, xorg, freetype 2 + , libxkbcommon, cairo, glib, gnome, flac, libogg, libvorbis, libopus, cmake 3 + , pango, pkg-config }: 6 4 7 5 stdenv.mkDerivation rec { 8 6 pname = "sfizz"; 9 - version = "0.5.1"; 7 + version = "1.1.1"; 10 8 11 9 src = fetchFromGitHub { 12 10 owner = "sfztools"; 13 11 repo = pname; 14 12 rev = version; 15 - sha256 = "sha256-3RdY5+BPsdk6vctDy24w5aJsVOV9qzSgXs62Pm5UEKs="; 13 + sha256 = "1gzpbns89j6ggzfjjvyhgigynsv20synrs7lmc32hwp4g73l0j7n"; 16 14 fetchSubmodules = true; 17 15 }; 18 16 ··· 37 35 glib 38 36 gnome.zenity 39 37 freetype 38 + pango 40 39 ]; 41 40 nativeBuildInputs = [ cmake pkg-config ]; 42 41 43 42 postPatch = '' 44 - substituteInPlace editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \ 45 - --replace '"/usr/bin/zenity' '"${gnome.zenity}/bin/zenity' 43 + substituteInPlace plugins/editor/external/vstgui4/vstgui/lib/platform/linux/x11fileselector.cpp \ 44 + --replace 'zenitypath = "zenity"' 'zenitypath = "${gnome.zenity}/bin/zenity"' 45 + substituteInPlace plugins/editor/src/editor/NativeHelpers.cpp \ 46 + --replace '/usr/bin/zenity' '${gnome.zenity}/bin/zenity' 46 47 ''; 47 48 48 - cmakeFlags = [ 49 - "-DCMAKE_BUILD_TYPE=Release" 50 - "-DSFIZZ_TESTS=ON" 51 - ]; 49 + cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DSFIZZ_TESTS=ON" ]; 52 50 53 51 meta = with lib; { 54 52 homepage = "https://github.com/sfztools/sfizz";