Merge pull request #337389 from Aleksanaa/qcm

qcm: 1.0.4 -> 1.0.5
This commit is contained in:
Aleksana 2024-08-26 16:31:12 +08:00 committed by GitHub
commit 24bb1b20a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}"
];