Commit ebd78ed6 authored by K900's avatar K900
Browse files

lxqt-config: backport build fixes for Plasma 5.27

parent 06ca9b6b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
{ lib
, mkDerivation
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, glib
@@ -29,6 +30,17 @@ mkDerivation rec {
    sha256 = "WgrcHM4iJLZsJO2obqSkjHHMB+/kcadQArkcXC5FB24=";
  };

  patches = [
    # FIXME: backport Plasma 5.27 build fix, remove for next release
    (fetchpatch {
      url = "https://github.com/lxqt/lxqt-config/commit/6add4e4f0040693e7c4242fbae48c9d32007686c.diff";
      hash = "sha256-Tir4KeGhBnD9dYmB1FAjuf4R4V+rn12MOxsRwTdE0Sc=";
    })
  ];

  # FIXME: required to build with Plasma 5.27, which uses std::optional
  cmakeFlags = ["-DCMAKE_CXX_STANDARD=17"];

  nativeBuildInputs = [
    cmake
    pkg-config