protocols: implement pointer-warp-v1 (#11469)

This commit is contained in:
Ikalco
2025-08-29 22:16:40 +02:00
committed by GitHub
parent 05a1c0aa73
commit ea42041f93
17 changed files with 699 additions and 5 deletions
+8
View File
@@ -40,12 +40,20 @@ in
buildInputs = hyprland.buildInputs;
preConfigure = ''
substituteInPlace hyprtester/CMakeLists.txt --replace-fail \
"\''${CMAKE_CURRENT_BINARY_DIR}" \
"${placeholder "out"}/bin"
cmake -S . -B .
cmake --build . --target generate-protocol-headers -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
cd hyprtester
'';
postInstall = ''
install pointer-warp -t $out/bin
'';
cmakeBuildType = "Debug";
cmakeFlags = [(cmakeBool "TESTS" true)];