spectacle: use minimal opencv

This commit is contained in:
Sandro Jäckel 2024-05-25 23:46:37 +02:00
parent 28a2669aba
commit 6fdf7ed5f9
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

@ -7,6 +7,14 @@
mkKdeDerivation { mkKdeDerivation {
pname = "spectacle"; pname = "spectacle";
extraBuildInputs = [qtwayland qtmultimedia opencv]; 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
})
];
meta.mainProgram = "spectacle"; meta.mainProgram = "spectacle";
} }