Commit 35f59cc7 authored by K900's avatar K900
Browse files

kde/plasma: apply hacks to fix build

parent 242a616c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -10,5 +10,10 @@ mkKdeDerivation {
  # FIXME(later): upstream
  patches = [./0001-fix-add-executable-bit.patch];

  # FIXME: hack to fix build, remove for 6.0.2
  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail "ECM 6.0.1" "ECM 6.0.0"
  '';

  extraNativeBuildInputs = [sass python3 python3Packages.pycairo];
}
+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ in
      postPatch =
        ''
          substituteInPlace cmake/FindPlymouth.cmake --subst-var out

          # FIXME: hack to fix build, remove for 6.0.2
          substituteInPlace CMakeLists.txt --replace-fail "ECM 6.0.1" "ECM 6.0.0"
        ''
        + lib.optionalString (logoFile != null) ''
          cp ${logoFile} breeze/images/${resolvedLogoName}.logo.png
+9 −0
Original line number Diff line number Diff line
{
  mkKdeDerivation,
  fetchpatch,
  qtquick3d,
  pkg-config,
  pipewire,
@@ -10,6 +11,14 @@
mkKdeDerivation {
  pname = "kpipewire";

  # FIXME: backport to fix build, remove for 6.0.2
  patches = [
    (fetchpatch {
      url = "https://invent.kde.org/plasma/kpipewire/-/commit/df052bfa3c66d24109f40f18266ee057d1838b9b.patch";
      hash = "sha256-69ftUUz5cvG/CmCw3hHFeU8XKhZPJjnx1raJCCay38g=";
    })
  ];

  extraNativeBuildInputs = [pkg-config];
  extraBuildInputs = [qtquick3d pipewire ffmpeg mesa libva];
}