Unverified Commit 9657d650 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #264763 from wineee/weston

weston: 12.0.2 -> 13.0.0
parents eb18da27 898a47c3
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, fetchpatch2
{ lib, stdenv, fetchurl
, meson, ninja, pkg-config, python3, wayland-scanner
, cairo, libGL, libdrm, libevdev, libinput, libxkbcommon, mesa, seatd, wayland
, wayland-protocols, xcbutilcursor
@@ -19,23 +19,13 @@

stdenv.mkDerivation rec {
  pname = "weston";
  version = "12.0.2";
  version = "13.0.0";

  src = fetchurl {
    url = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${version}/downloads/weston-${version}.tar.xz";
    hash = "sha256-62hqfPAJkqI7F/GS/KmohzE+ksNG7jXYV1GWmD1la0o=";
    hash = "sha256-Uv8dSqI5Si5BbIWjOLYnzpf6cdQ+t2L9Sq8UXTb8eVo=";
  };

  patches = [
    # ci, backend-vnc: update to Neat VNC 0.7.0
    # part of https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1051
    (fetchpatch2 {
      url = "https://gitlab.freedesktop.org/wayland/weston/-/commit/8895b15f3dfc555a869e310ff6e16ff5dced1336.patch";
      hash = "sha256-PGAmQhzG8gZcYRaZwhKPlgzfbILIXGAHLSd9dCHAP1A=";
      excludes = [ ".gitlab-ci.yml" ];
    })
  ];

  depsBuildBuild = [ pkg-config ];
  nativeBuildInputs = [ meson ninja pkg-config python3 wayland-scanner ];
  buildInputs = [