supercollider: re-enable QtWebEngine and fix -FFTW3F-INCLUDE-DIR build error (#531489)

This commit is contained in:
Grimmauld
2026-06-16 18:50:56 +00:00
committed by GitHub
2 changed files with 8 additions and 2 deletions
@@ -16,6 +16,7 @@
libxt,
readline,
useSCEL ? false,
useQtWebEngine ? true,
emacs,
gitUpdater,
supercollider-with-plugins,
@@ -65,6 +66,7 @@ stdenv.mkDerivation rec {
qt6.qtbase
qt6.qtwebsockets
qt6.qtwayland
qt6.qtwebengine
readline
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) alsa-lib;
@@ -74,7 +76,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DSC_WII=OFF"
"-DSC_EL=${if useSCEL then "ON" else "OFF"}"
(lib.cmakeBool "SC_USE_QTWEBENGINE" false)
(lib.cmakeBool "SC_USE_QTWEBENGINE" useQtWebEngine)
];
passthru = {
@@ -6,6 +6,7 @@
cmake,
supercollider,
fftw,
fftwFloat,
gitUpdater,
}:
@@ -25,6 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = [
supercollider
fftw
fftwFloat # builds without this will return an error message about no FFTW3F-INCLUDE-DIR
];
cmakeFlags = [
@@ -46,7 +48,9 @@ stdenv.mkDerivation rec {
meta = {
description = "Community plugins for SuperCollider";
homepage = "https://supercollider.github.io/sc3-plugins/";
maintainers = [ ];
maintainers = with lib.maintainers; [
pretentiousUsername
];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};