Skip to content

Commit

Permalink
Merge pull request #132764 from AndersonTorres/new-labwc
Browse files Browse the repository at this point in the history
labwc: 0.2.1 -> 0.3.0
  • Loading branch information
AndersonTorres authored Aug 5, 2021
2 parents 9c0a584 + 4d167d0 commit 7de613d
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions pkgs/applications/window-managers/labwc/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, pkg-config
, meson
, ninja
Expand All @@ -22,43 +21,34 @@

stdenv.mkDerivation rec {
pname = "labwc";
version = "0.2.1"; # We're effectively using that version
version = "0.3.0";

src = fetchFromGitHub {
owner = "johanmalm";
repo = pname;
rev = "6744e103014bcb0480133a029ec0f82f9b017e60";
sha256 = "0sdr4zkix8x3vmna4i946y3whpj7fqizpaac6yj7w0as9d6hj0iq";
rev = version;
sha256 = "sha256-v8LGiQG/n1IXeVMPWyiP9MgZzZLW78JftvxnRVTswaM=";
};

patches = [
# To fix the build with wlroots 0.14:
(fetchpatch {
# output: access texture width/height directly
url = "https://github.com/johanmalm/labwc/commit/892e93dd84c514b4e6f34a0fab01c727edd2d8de.patch";
sha256 = "1p1pg1kd98727wlcspa2sffl7ijhvsfad6bj2rxsw322q0bz3yrh";
})
(fetchpatch {
# xdg: chase swaywm/wlroots@9e58301
url = "https://github.com/johanmalm/labwc/commit/874cc9e63706dd54d9f9fcb071f2d2e0c19d3d7e.patch";
sha256 = "0ypd47q5ffq4wjkrcr3068qjknn2s66zszyxg3dl0f87q2pxh6wx";
})
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
];

nativeBuildInputs = [ pkg-config meson ninja scdoc ];
buildInputs = [
cairo
glib
libdrm
libinput
libxcb
libxkbcommon
libxml2
pango
wayland
wayland-protocols
wlroots
libxcb
libxkbcommon
xwayland
libdrm
];

mesonFlags = [ "-Dxwayland=enabled" ];
Expand Down

0 comments on commit 7de613d

Please sign in to comment.