mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bambootracker,bambootracker-qt6: Switch from vendored to system-installed RtAudio 6
This commit is contained in:
parent
26dab21459
commit
ae98702f42
@ -8,7 +8,7 @@
|
||||
, qtbase
|
||||
, qttools
|
||||
, qtwayland
|
||||
, rtaudio
|
||||
, rtaudio_6
|
||||
, rtmidi
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
@ -43,16 +43,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
rtaudio_6
|
||||
rtmidi
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
qtwayland
|
||||
] ++ lib.optionals (lib.versionAtLeast qtbase.version "6.0") [
|
||||
qt5compat
|
||||
] ++ rtaudio.buildInputs;
|
||||
];
|
||||
|
||||
qmakeFlags = [
|
||||
# we don't have RtAudio 6 yet: https://github.com/NixOS/nixpkgs/pull/245075
|
||||
# "CONFIG+=system_rtaudio"
|
||||
"CONFIG+=system_rtaudio"
|
||||
"CONFIG+=system_rtmidi"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user