cagebreak: 1.6.0 -> 1.7.0

This commit is contained in:
AndersonTorres 2021-05-03 21:20:17 -03:00
parent c23146505c
commit bf8679ba94
2 changed files with 10 additions and 8 deletions

View File

@ -8,20 +8,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cagebreak"; pname = "cagebreak";
version = "1.6.0"; version = "1.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "project-repo"; owner = "project-repo";
repo = "cagebreak"; repo = pname;
rev = version; rev = version;
hash = "sha256-F7fqDVbJS6pVgmj6C1/l9PAaz5yzcYpaq6oc6a6v/Qk="; hash = "sha256-HpAjJHu5sxZKof3ydnU3wcP5GpnH6Ax8m1T1vVoq+oI=";
}; };
nativeBuildInputs = [ meson ninja pkg-config wayland scdoc makeWrapper ]; nativeBuildInputs = [ meson ninja pkg-config wayland scdoc pandoc makeWrapper ];
buildInputs = [ buildInputs = [
wlroots wayland wayland-protocols pixman libxkbcommon cairo wlroots wayland wayland-protocols pixman libxkbcommon cairo
pango fontconfig pandoc systemd pango fontconfig systemd
mesa # for libEGL headers mesa # for libEGL headers
]; ];
@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
"-Dman-pages=true" "-Dman-pages=true"
]; ];
postPatch = ''
sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c
'';
postInstall = '' postInstall = ''
mkdir -p $contrib/share/cagebreak mkdir -p $contrib/share/cagebreak
cp $src/examples/config $contrib/share/cagebreak/config cp $src/examples/config $contrib/share/cagebreak/config

View File

@ -31275,9 +31275,7 @@ in
bottom = callPackage ../tools/system/bottom {}; bottom = callPackage ../tools/system/bottom {};
cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix { cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix { };
wlroots = wlroots_0_12;
};
psftools = callPackage ../os-specific/linux/psftools {}; psftools = callPackage ../os-specific/linux/psftools {};