From f097e1b3ebbc7bb8a4f0acc7e20bd1d971bccb8e Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sat, 2 Dec 2023 14:34:40 +0100 Subject: [PATCH] WorkspaceNumber: new recipe for v0.2 WorkspaceNumber is a Deskbar replicant to display the current workspace number. --- .../workspacenumber-0.2.recipe | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 haiku-apps/workspacenumber/workspacenumber-0.2.recipe diff --git a/haiku-apps/workspacenumber/workspacenumber-0.2.recipe b/haiku-apps/workspacenumber/workspacenumber-0.2.recipe new file mode 100644 index 000000000..354e9b1b2 --- /dev/null +++ b/haiku-apps/workspacenumber/workspacenumber-0.2.recipe @@ -0,0 +1,51 @@ +SUMMARY="A Deskbar replicant to display the current workspace number" +DESCRIPTION="WorkspaceNumber is a replicant to display the current workspace number \ +in Deskbar's tray. It helps keeping track of the current workspace in case you have \ +similar or the same Desktop backgrounds across your workspaces. + +Left-click the icon to open Haiku's Workspaces applet. +Use the mouse-wheel while hovering over the icon to move through the workspaces. +To remove WorkspaceNumber from Deskbar, launch it again or right-click the icon and \ +select 'Quit'." +HOMEPAGE="https://github.com/HaikuArchives/WorkspaceNumber" +COPYRIGHT="1999 MichaƂ Kowalski + 2023 Humdinger" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="66ce5d358c5ec54ce9410853f52955b67cb294e1fa079bcc236f98d718b2fe4f" +SOURCE_DIR="WorkspaceNumber-$portVersion" + +ARCHITECTURES="all" + +PROVIDES=" + workspacenumber = $portVersion + app:WorkspaceNumber = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + cd source + make $jobArgs + make bindcatalogs +} + +INSTALL() +{ + mkdir -p $appsDir + cp -af WorkspaceNumber $appsDir + + addAppletDeskbarSymlink $appsDir/WorkspaceNumber +}