cagebreak: 1.9.1 -> 2.2.1
- https://github.com/project-repo/cagebreak/releases/tag/2.0.0 - https://github.com/project-repo/cagebreak/releases/tag/2.2.1
This commit is contained in:
parent
904a5f42ab
commit
fab5644224
@ -6,6 +6,7 @@
|
||||
, libevdev
|
||||
, libinput
|
||||
, libxkbcommon
|
||||
, xcbutilwm
|
||||
, makeWrapper
|
||||
, mesa
|
||||
, meson
|
||||
@ -24,13 +25,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cagebreak";
|
||||
version = "1.9.1";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "project-repo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-pU1QHYOqnkb3L4iSKbZY9Vo60Z6EaX9mp2Nw48NSPic=";
|
||||
hash = "sha256-cJEJ8V9lDbNb07eY3nWmNcT7ULGlcmOeyb9UDOLGWfI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -48,6 +49,7 @@ stdenv.mkDerivation rec {
|
||||
libevdev
|
||||
libinput
|
||||
libxkbcommon
|
||||
xcbutilwm
|
||||
mesa # for libEGL headers
|
||||
pango
|
||||
pixman
|
||||
@ -69,6 +71,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Patch cagebreak to read its default configuration from $out/share/cagebreak
|
||||
sed -i "s|/etc/xdg/cagebreak|$out/share/cagebreak|" meson.build cagebreak.c
|
||||
substituteInPlace meson.build \
|
||||
--replace "/usr/share/licenses" "$out/share/licenses"
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString withXwayland ''
|
||||
|
@ -41968,7 +41968,7 @@ with pkgs;
|
||||
bottom = darwin.apple_sdk_11_0.callPackage ../tools/system/bottom { };
|
||||
|
||||
cagebreak = callPackage ../applications/window-managers/cagebreak {
|
||||
wlroots = wlroots_0_15;
|
||||
wlroots = wlroots_0_16;
|
||||
};
|
||||
|
||||
psftools = callPackage ../os-specific/linux/psftools { };
|
||||
|
Loading…
Reference in New Issue
Block a user