Merge pull request #172208 from lilyinstarlight/fix/supercollider-with-libsndfile-1.1.0

supercollider: fix build with libsndfile >=1.1.0
This commit is contained in:
Artturi 2022-05-10 06:23:44 +03:00 committed by GitHub
commit 892dff6deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, mkDerivation, fetchurl, cmake
{ lib, stdenv, mkDerivation, fetchurl, fetchpatch, cmake
, pkg-config, alsa-lib, libjack2, libsndfile, fftw
, curl, gcc, libXt, qtbase, qttools, qtwebengine
, readline, qtwebsockets, useSCEL ? false, emacs
@ -18,6 +18,12 @@ mkDerivation rec {
patches = [
# add support for SC_DATA_DIR and SC_PLUGIN_DIR env vars to override compile-time values
./supercollider-3.12.0-env-dirs.patch
# fix issue with libsndfile >=1.1.0
(fetchpatch {
url = "https://github.com/supercollider/supercollider/commit/b9dd70c4c8d61c93d7a70645e0bd18fa76e6834e.patch";
hash = "sha256-6FhEHyY0rnE6d7wC+v0U9K+L0aun5LkTqaEFhr3eQNw=";
})
];
nativeBuildInputs = [ cmake pkg-config qttools ];