Unverified Commit 24bb1b20 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #337389 from Aleksanaa/qcm

qcm: 1.0.4 -> 1.0.5
parents 3d81b7c8 f3f74e28
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -11,14 +11,14 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "qcm";
  version = "1.0.4";
  version = "1.0.5";

  src = fetchFromGitHub {
    owner = "hypengw";
    repo = "Qcm";
    rev = "v${finalAttrs.version}";
    fetchSubmodules = true;
    hash = "sha256-dwzstlmGuY8oRxxO2BPXmSCSnE7Fbp+dyYVs17HUopA=";
    hash = "sha256-/FOT2xK01JbJbTd5AT5Dk/5EF9qUyLvPTnw8PMtHYoQ=";
  };

  patches = [ ./remove_cubeb_vendor.patch ];
@@ -38,6 +38,12 @@ stdenv.mkDerivation (finalAttrs: {
    cubeb
  ] ++ cubeb.passthru.backendLibs;

  # Correct qml import path
  postInstall = ''
    mkdir $out/lib/qt-6
    mv $out/lib/qml $out/lib/qt-6/qml
  '';

  qtWrapperArgs = [
    "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath cubeb.passthru.backendLibs}"
  ];