Merge pull request #121652 from AndersonTorres/quick-patches
cagebreak: 1.6.0 -> 1.7.0
This commit is contained in:
commit
1b1d7e93dc
@ -1,38 +1,75 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib
|
||||||
, meson, ninja, pkg-config, wayland, scdoc, makeWrapper
|
, stdenv
|
||||||
, wlroots, wayland-protocols, pixman, libxkbcommon
|
, fetchFromGitHub
|
||||||
, cairo , pango, fontconfig, pandoc, systemd, mesa
|
, cairo
|
||||||
, withXwayland ? true, xwayland
|
, fontconfig
|
||||||
|
, libxkbcommon
|
||||||
|
, makeWrapper
|
||||||
|
, mesa
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
, pandoc
|
||||||
|
, pango
|
||||||
|
, pixman
|
||||||
|
, pkg-config
|
||||||
|
, scdoc
|
||||||
|
, systemd
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
, withXwayland ? true , xwayland
|
||||||
|
, wlroots
|
||||||
}:
|
}:
|
||||||
|
|
||||||
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 = [
|
||||||
|
makeWrapper
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pandoc
|
||||||
|
pkg-config
|
||||||
|
scdoc
|
||||||
|
wayland
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wlroots wayland wayland-protocols pixman libxkbcommon cairo
|
cairo
|
||||||
pango fontconfig pandoc systemd
|
fontconfig
|
||||||
|
libxkbcommon
|
||||||
mesa # for libEGL headers
|
mesa # for libEGL headers
|
||||||
|
pango
|
||||||
|
pixman
|
||||||
|
systemd
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
wlroots
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "contrib" ];
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"contrib"
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dxwayland=${lib.boolToString withXwayland}"
|
|
||||||
"-Dversion_override=${version}"
|
|
||||||
"-Dman-pages=true"
|
"-Dman-pages=true"
|
||||||
|
"-Dversion_override=${version}"
|
||||||
|
"-Dxwayland=${lib.boolToString withXwayland}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
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
|
||||||
|
@ -31281,9 +31281,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 {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user