Unverified Commit 0f1009f3 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

qcm: 1.0.5 -> 1.1.2 (#348485)

parents af17512a b9c2a2ca
Loading
Loading
Loading
Loading
+17 −14
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, qt6
, curl
, ffmpeg
, cubeb
{
  lib,
  stdenv,
  fetchFromGitHub,
  cmake,
  pkg-config,
  qt6,
  curl,
  ffmpeg,
  cubeb,
}:

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

  src = fetchFromGitHub {
    owner = "hypengw";
    repo = "Qcm";
    rev = "v${finalAttrs.version}";
    fetchSubmodules = true;
    hash = "sha256-/FOT2xK01JbJbTd5AT5Dk/5EF9qUyLvPTnw8PMtHYoQ=";
    hash = "sha256-41GsG+NKCMw+LuRUf31ilRso/SkKYVV3IrMSviOZdWs=";
  };

  patches = [ ./remove_cubeb_vendor.patch ];
  patches = [
    ./remove_cubeb_vendor.patch
  ];

  nativeBuildInputs = [
    cmake
@@ -32,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
  buildInputs = [
    qt6.qtbase
    qt6.qtdeclarative
    qt6.qtsvg
    qt6.qtwayland
    curl
    ffmpeg
@@ -40,8 +44,7 @@ stdenv.mkDerivation (finalAttrs: {

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

  qtWrapperArgs = [