mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
cagebreak: 1.8.0 -> 1.8.1
Cagebreak now installs the default configuration.
This commit is contained in:
parent
e5f9c5215a
commit
077ba7f0dd
@ -24,13 +24,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cagebreak";
|
||||
version = "1.8.0";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "project-repo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tWfHJajAOYZJ73GckZWWTdVz75YmHA7t/qDhM7+tJgk=";
|
||||
hash = "sha256-YaLGRlvppTUCSHFlt3sEfHgN3pYHuc5oGt3dt0DDw3I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -63,14 +63,12 @@ stdenv.mkDerivation rec {
|
||||
"-Dxwayland=${lib.boolToString withXwayland}"
|
||||
];
|
||||
|
||||
# TODO: investigate why is this happening
|
||||
postPatch = ''
|
||||
# TODO: investigate why is this happening
|
||||
sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -d $out/share/cagebreak/
|
||||
install -m644 $src/examples/config $out/share/cagebreak/
|
||||
# Patch cagebreak to read its default configuration from $out/share/cagebreak
|
||||
sed -i "s|/etc/xdg/cagebreak|$out/share/cagebreak|" meson.build cagebreak.c
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString withXwayland ''
|
||||
|
Loading…
Reference in New Issue
Block a user