Unverified Commit b3b0a328 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

hyprland: 0.53.3 -> 0.54.0 (#494919)

parents 75f3cc50 78f04df2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = lib.optionals enableSSL [ openssl ];
  propagatedBuildInputs = lib.optionals enableSSL [ openssl ];

  # https://github.com/stephenberry/glaze/blob/main/CMakeLists.txt
  cmakeFlags = [
+5 −5
Original line number Diff line number Diff line
{
  "branch": "v0.53.3-b",
  "commit_hash": "dd220efe7b1e292415bd0ea7161f63df9c95bfd3",
  "commit_message": "version: bump to 0.53.3",
  "date": "2026-01-24",
  "tag": "v0.53.3"
  "branch": "main",
  "commit_hash": "0002f148c9a4fe421a9d33c0faa5528cdc411e62",
  "commit_message": "version: bump to 0.54.0",
  "date": "2026-02-27",
  "tag": "v0.54.0"
}
+5 −22
Original line number Diff line number Diff line
@@ -48,11 +48,6 @@
  enableXWayland ? true,
  withSystemd ? lib.meta.availableOn gcc15Stdenv.hostPlatform systemd,
  wrapRuntimeDeps ? true,
  # deprecated flags
  nvidiaPatches ? false,
  hidpiXWayland ? false,
  enableNvidiaPatches ? false,
  legacyRenderer ? false,
}:
let
  inherit (builtins)
@@ -85,24 +80,16 @@ let

  customStdenv = foldl' (acc: adapter: adapter acc) gcc15Stdenv adapters;
in
assert assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been removed.";
assert assertMsg (!enableNvidiaPatches) "The option `enableNvidiaPatches` has been removed.";
assert assertMsg (!hidpiXWayland)
  "The option `hidpiXWayland` has been removed. Please refer https://wiki.hyprland.org/Configuring/XWayland";
assert assertMsg (
  !legacyRenderer
) "The option `legacyRenderer` has been removed. Legacy renderer is no longer supported.";

customStdenv.mkDerivation (finalAttrs: {
  pname = "hyprland" + optionalString debug "-debug";
  version = "0.53.3";
  version = "0.54.0";

  src = fetchFromGitHub {
    owner = "hyprwm";
    repo = "hyprland";
    fetchSubmodules = true;
    tag = "v${finalAttrs.version}";
    hash = "sha256-as2crdrJUVOawO8XkWJEZBUNaFdPS8QuQiccTkM1la0=";
    hash = "sha256-wfiduannx1mWvsGAfuMk8ipOU3AAFuJYPNV4D++dhPY=";
  };

  postPatch = ''
@@ -140,9 +127,6 @@ customStdenv.mkDerivation (finalAttrs: {
    hyprwire
    makeWrapper
    cmake
    # meson + ninja are used to build the hyprland-protocols submodule
    meson
    ninja
    pkg-config
    wayland-scanner
    # for udis86
@@ -166,10 +150,11 @@ customStdenv.mkDerivation (finalAttrs: {
      hyprutils
      libGL
      libdrm
      libgbm
      libinput
      libuuid
      libxcursor
      libxkbcommon
      libgbm
      muparser
      pango
      pciutils
@@ -177,15 +162,14 @@ customStdenv.mkDerivation (finalAttrs: {
      tomlplusplus
      wayland
      wayland-protocols
      libxcursor
    ]
    (optionals customStdenv.hostPlatform.isBSD [ epoll-shim ])
    (optionals customStdenv.hostPlatform.isMusl [ libexecinfo ])
    (optionals enableXWayland [
      libxcb
      libxdmcp
      libxcb-errors
      libxcb-wm
      libxdmcp
      xwayland
    ])
    (optionals withSystemd [ systemd ])
@@ -202,7 +186,6 @@ customStdenv.mkDerivation (finalAttrs: {
    "NO_SYSTEMD" = !withSystemd;
    "CMAKE_DISABLE_PRECOMPILE_HEADERS" = true;
    "NO_UWSM" = !withSystemd;
    "NO_HYPRPM" = true;
    "TRACY_ENABLE" = false;
  };