Commit 7cddd344 authored by Martin Joerg's avatar Martin Joerg
Browse files

lxqt.xdg-desktop-portal-lxqt: fix build against Qt >= 6.10

parent 4490f109
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  kwindowsystem,
  libexif,
@@ -25,6 +26,16 @@ stdenv.mkDerivation rec {
    hash = "sha256-y3VqDuFagKcG8O5m5qjRGtlUZXfIXV0tclvZLChhWkg=";
  };

  patches = [
    # fix build against Qt >= 6.10 (https://github.com/lxqt/xdg-desktop-portal-lxqt/pull/50)
    # TODO: drop when upgrading beyond version 1.2.0
    (fetchpatch {
      name = "cmake-fix-build-with-Qt-6.10.patch";
      url = "https://github.com/lxqt/xdg-desktop-portal-lxqt/commit/15fae3c57a8e8149ef19a8c919f5728016390e3f.patch";
      hash = "sha256-oReYMEr+tBDHtnFDZahBwTtzgtL/BABZO64yob9tem4=";
    })
  ];

  nativeBuildInputs = [
    cmake
    wrapQtAppsHook