Kde/patches: add spectacle patches
This commit is contained in:
parent
85b1605ea9
commit
ce5be49975
5 changed files with 3575 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
./konsole.nix
|
||||
./kwin.nix
|
||||
./baloo.nix
|
||||
./spectacle.nix
|
||||
];
|
||||
|
||||
# Enable the kde partition manager
|
||||
|
|
|
|||
24
roles/kde/programs/spectacle.nix
Normal file
24
roles/kde/programs/spectacle.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{...}: {
|
||||
nixpkgs.overlays = [
|
||||
(
|
||||
final: prev: {
|
||||
kdePackages = prev.kdePackages.overrideScope (
|
||||
kFinal: kPrev: {
|
||||
# Needed for OCR
|
||||
spectacle = kPrev.spectacle.overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [final.pkg-config];
|
||||
buildInputs = with final;
|
||||
old.buildInputs
|
||||
++ [
|
||||
tesseract
|
||||
leptonica
|
||||
libarchive
|
||||
curl
|
||||
];
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
)
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue