suil: remove qt4 support
This commit is contained in:
parent
d26912d7fe
commit
84e9e1a7ff
2 changed files with 3 additions and 19 deletions
|
@ -1,16 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, gtk2, lv2, pkg-config, python3, serd, sord, sratom
|
||||
, wafHook
|
||||
, withQt4 ? true, qt4 ? null
|
||||
, withQt5 ? false, qt5 ? null }:
|
||||
|
||||
# I haven't found an XOR operator in nix...
|
||||
assert withQt4 || withQt5;
|
||||
assert !(withQt4 && withQt5);
|
||||
, withQt5 ? true, qt5 ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "suil";
|
||||
version = "0.10.6";
|
||||
name = "${pname}-qt${if withQt4 then "4" else "5"}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
|
||||
|
@ -19,8 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
||||
buildInputs = [ gtk2 lv2 serd sord sratom ]
|
||||
++ (lib.optionals withQt4 [ qt4 ])
|
||||
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
|
||||
++ lib.optionals withQt5 (with qt5; [ qtbase qttools ]);
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
|
|
|
@ -22786,15 +22786,6 @@ with pkgs;
|
|||
|
||||
suil = callPackage ../development/libraries/audio/suil { };
|
||||
|
||||
suil-qt5 = suil.override {
|
||||
withQt4 = false;
|
||||
withQt5 = true;
|
||||
};
|
||||
suil-qt4 = suil.override {
|
||||
withQt4 = true;
|
||||
withQt5 = false;
|
||||
};
|
||||
|
||||
sundials = callPackage ../development/libraries/sundials {
|
||||
python = python3;
|
||||
};
|
||||
|
@ -27552,7 +27543,6 @@ with pkgs;
|
|||
|
||||
audacity = callPackage ../applications/audio/audacity {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit AudioToolbox AudioUnit Carbon CoreAudio CoreAudioKit CoreServices;
|
||||
suil = suil-qt5;
|
||||
};
|
||||
|
||||
audio-recorder = callPackage ../applications/audio/audio-recorder { };
|
||||
|
|
Loading…
Reference in a new issue