samplebrain: fix build (#403490)

This commit is contained in:
Peder Bergebakken Sundt
2025-05-02 02:13:38 +02:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitLab,
fetchpatch,
fftw,
liblo,
libsndfile,
@@ -23,6 +24,14 @@ stdenv.mkDerivation rec {
hash = "sha256-/pMHmwly5Dar7w/ZawvR3cWQHw385GQv/Wsl1E2w5p4=";
};
patches = [
# Fixes build with recent liblo, see https://gitlab.com/then-try-this/samplebrain/-/merge_requests/16
(fetchpatch {
url = "https://gitlab.com/then-try-this/samplebrain/-/commit/032fd7c03931d1ca2d5c3d5e29901569aa2b2a86.patch";
hash = "sha256-aaZJh/vx8fOqrJTuFzQ9+1mXvDQQXLy1k/2SwkMkVk4=";
})
];
nativeBuildInputs = [
qmake
wrapQtAppsHook