Commit 64bfbd50 authored by tea's avatar tea
Browse files

wayfirePlugins.windecor: remove

It will also FTBFS with Wayfire 0.10.
parent bfa23cd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,12 +13,12 @@ lib.makeScope pkgs.newScope (
    wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { };
    wcm = callPackage ./wcm.nix { };
    wf-shell = callPackage ./wf-shell.nix { };
    windecor = callPackage ./windecor.nix { };
  }
)
// lib.optionalAttrs config.allowAliases {
  firedecor = throw "wayfirePlugins.firedecor has been removed as it is unmaintained and no longer used by mate-wayland-session."; # Added 2025-09-03
  focus-request = throw "wayfirePlugins.focus-request is now included with wayfirePlugins.wayfire-plugins-extra";
  wayfire-shadows = throw "wayfirePlugins.wayfire-shadows is now included with wayfirePlugins.wayfire-plugins-extra";
  windecor = throw "wayfirePlugins.windecor has been removed as it is unmaintained";
  wwp-switcher = throw "wayfirePlugins.wwp-switcher has been removed as it is unmaintained";
}
+0 −58
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitLab,
  meson,
  ninja,
  pkg-config,
  wayfire,
  eudev,
  libinput,
  libxkbcommon,
  librsvg,
  libGL,
  xcbutilwm,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "windecor";
  version = "0.8.0";

  src = fetchFromGitLab {
    owner = "wayfireplugins";
    repo = "windecor";
    rev = "v${finalAttrs.version}";
    hash = "sha256-v0kGT+KrtfFJ/hp1Dr8izKVj6UHhuW6udHFjWt1y9TY=";
  };

  postPatch = ''
    substituteInPlace meson.build \
      --replace "wayfire.get_variable( pkgconfig: 'metadatadir' )" "join_paths(get_option('prefix'), 'share/wayfire/metadata')"
  '';

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    wayfire
    eudev
    libinput
    libxkbcommon
    librsvg
    libGL
    xcbutilwm
  ];

  mesonFlags = [ "--sysconfdir=/etc" ];

  meta = {
    homepage = "https://gitlab.com/wayfireplugins/windecor";
    description = "Window decoration plugin for wayfire";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ wineee ];
    inherit (wayfire.meta) platforms;
  };
})