2024-02-05 15:43:41 +00:00
|
|
|
{
|
|
|
|
mkKdeDerivation,
|
|
|
|
qtwayland,
|
|
|
|
qtmultimedia,
|
2024-05-23 11:19:54 +00:00
|
|
|
opencv,
|
2024-02-05 15:43:41 +00:00
|
|
|
}:
|
|
|
|
mkKdeDerivation {
|
|
|
|
pname = "spectacle";
|
|
|
|
|
2024-05-25 21:46:37 +00:00
|
|
|
extraBuildInputs = [
|
|
|
|
qtwayland
|
|
|
|
qtmultimedia
|
|
|
|
(opencv.override {
|
|
|
|
enableCuda = false; # fails to compile, disabled in case someone sets config.cudaSupport
|
|
|
|
enabledModules = [ "core" "imgproc" ]; # https://invent.kde.org/graphics/spectacle/-/blob/master/CMakeLists.txt?ref_type=heads#L83
|
|
|
|
runAccuracyTests = false; # tests will fail because of missing plugins but that's okay
|
|
|
|
})
|
|
|
|
];
|
2024-03-19 02:14:51 +00:00
|
|
|
meta.mainProgram = "spectacle";
|
2024-02-05 15:43:41 +00:00
|
|
|
}
|