From f1d5343114004430d2133d5dc60512b0ab3de2d6 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Tue, 2 Jan 2024 12:12:37 +0100 Subject: [PATCH] keycursor: update to v1.2 --- haiku-apps/keycursor/keycursor-1.1.recipe | 53 ---------------------- haiku-apps/keycursor/keycursor-1.2.recipe | 55 +++++++++++++++++++++++ 2 files changed, 55 insertions(+), 53 deletions(-) delete mode 100644 haiku-apps/keycursor/keycursor-1.1.recipe create mode 100644 haiku-apps/keycursor/keycursor-1.2.recipe diff --git a/haiku-apps/keycursor/keycursor-1.1.recipe b/haiku-apps/keycursor/keycursor-1.1.recipe deleted file mode 100644 index 73f7b4319..000000000 --- a/haiku-apps/keycursor/keycursor-1.1.recipe +++ /dev/null @@ -1,53 +0,0 @@ -SUMMARY="Control a mouse with a keyboard" -DESCRIPTION="Basic usage: - -Hit and release the toggle key(s) to activate KeyCursor, then use the arrow \ -keys to move the cursor. - -The space bar key acts as the primary button, and if you press SHIFT while \ -\"clicking\" with the space key, you get a secondary button event. - -Hit again the toggle key(s) to deactivate it." -HOMEPAGE="https://github.com/HaikuArchives/KeyCursor" -COPYRIGHT="Nathan Schrenk, Oscar Lesta, Thomas Thiriez" -LICENSE="Be Sample Code License" -REVISION="1" -SOURCE_URI="https://github.com/HaikuArchives/KeyCursor/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="fd6739ef83362a8f6aea0172e1bff6e8cbb54e3ababf29838148f4e550e50151" -SOURCE_DIR="KeyCursor-$portVersion" - -ARCHITECTURES="all" - -PROVIDES=" - keycursor = $portVersion - " -REQUIRES=" - haiku - " - -BUILD_REQUIRES=" - haiku_devel - " -BUILD_PREREQUIRES=" - makefile_engine - cmd:gcc - cmd:ld - cmd:make - " - -BUILD() -{ - make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` -} - -INSTALL() -{ - mkdir -p $preferencesDir \ - $addOnsDir/input_server/{devices,filters} - - cp src/KeyCursor $addOnsDir/input_server/devices/KeyCursorDevice - cp src/KeyCursor $addOnsDir/input_server/filters/KeyCursorFilter - cp preflet/KeyCursor $preferencesDir - - addPreferencesDeskbarSymlink $preferencesDir/KeyCursor -} diff --git a/haiku-apps/keycursor/keycursor-1.2.recipe b/haiku-apps/keycursor/keycursor-1.2.recipe new file mode 100644 index 000000000..365d9aebc --- /dev/null +++ b/haiku-apps/keycursor/keycursor-1.2.recipe @@ -0,0 +1,55 @@ +SUMMARY="Control your mouse with the keyboard" +DESCRIPTION="KeyCursor lets you control the mouse pointer with the keyboard. + +In the preference window, you choose the modifier key combination that will toggle control on/off. \ +When toggled on, the cursor keys will move the mouse pointer. +Hit SPACE for a left-click, SHIFT+SPACE for a right-click. +PageUp and PageDown act as a vertical mouse wheel. + +An optional icon in the Deskbar tray shows if control is onor off." +HOMEPAGE="https://github.com/HaikuArchives/KeyCursor" +COPYRIGHT="Oscar Lesta, Humdinger" +LICENSE="Be Sample Code License + MIT" +REVISION="1" +SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="19933dc183d6841a8650d8e9a033bc953082a2c337da070d9b986a14b3b084c1" +SOURCE_DIR="KeyCursor-$portVersion" + +ARCHITECTURES="all" + +PROVIDES=" + keycursor = $portVersion + add_on:KeyCursorInputDevice = $portVersion + add_on:KeyCursorInputFilter = $portVersion + app:KeyCursor = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + mkdir -p $preferencesDir \ + $addOnsDir/input_server/{devices,filters} + + cp src/KeyCursor $addOnsDir/input_server/devices/KeyCursorDevice + cp src/KeyCursor $addOnsDir/input_server/filters/KeyCursorFilter + cp preflet/KeyCursor $preferencesDir + + addPreferencesDeskbarSymlink $preferencesDir/KeyCursor +}