Unverified Commit 2b8b6e30 authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

bambootracker-qt6: 0.6.3 -> 0.6.4 (#344221)

parents 91779faf 75db33ff
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -17,14 +17,14 @@ assert lib.versionAtLeast qtbase.version "6.0" -> qt5compat != null;

stdenv.mkDerivation (finalAttrs: {
  pname = "bambootracker";
  version = "0.6.3";
  version = "0.6.4";

  src = fetchFromGitHub {
    owner = "BambooTracker";
    repo = "BambooTracker";
    rev = "v${finalAttrs.version}";
    fetchSubmodules = true;
    hash = "sha256-rMYs2jixzoMGem9lxAjDMbFOMrnK8BLFjZIagdZk/Ok=";
    hash = "sha256-tFUliKR55iZybNyYIF1FXh8RGf8jKEsGrWBuldB277g=";
  };

  postPatch = lib.optionalString (lib.versionAtLeast qtbase.version "6.0") ''
@@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
  qmakeFlags = [
    "CONFIG+=system_rtaudio"
    "CONFIG+=system_rtmidi"
  ] ++ lib.optionals (stdenv.cc.isClang || (lib.versionAtLeast qtbase.version "6.0")) [
    # Clang is extra-strict about some deprecations
    # Latest Qt6 deprecated QCheckBox::stateChanged(int)
    "CONFIG+=no_warnings_are_errors"
  ];

  postConfigure = "make qmake_all";