From dfeb21147dca788c7878a37617eeeaa345cc4b7d Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 29 Oct 2013 14:58:00 -0600 Subject: [PATCH] Update quicklaunch with recipe provided by Humdinger resolves issue #43 --- .../quicklaunch/quicklaunch-0.9.5.recipe | 35 ------------ .../quicklaunch/quicklaunch-0.9.6.recipe | 55 +++++++++++++++++++ 2 files changed, 55 insertions(+), 35 deletions(-) delete mode 100644 haiku-apps/quicklaunch/quicklaunch-0.9.5.recipe create mode 100644 haiku-apps/quicklaunch/quicklaunch-0.9.6.recipe diff --git a/haiku-apps/quicklaunch/quicklaunch-0.9.5.recipe b/haiku-apps/quicklaunch/quicklaunch-0.9.5.recipe deleted file mode 100644 index a98dae242..000000000 --- a/haiku-apps/quicklaunch/quicklaunch-0.9.5.recipe +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION="A tool to quickly start any installed application" -HOMEPAGE="https://sourceforge.net/p/quicklaunch-h" -SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" - -BUILD { - cd quicklaunch-0.9.5 - rc -o QuickLaunch.rsrc QuickLaunch.rdef - make -} - -INSTALL { - cd quicklaunch-0.9.5 - cd objects.x86-gcc`setgcc | tail -c -2`-release - mkdir -p $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch - cp -af QuickLaunch $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch - cd .. - unzip -o ReadMe.zip -d $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch - chmod +x Add\ to\ Deskbar.sh - cp -af Add\ to\ Deskbar.sh $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch - mkdir -p $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications - ln -sf `finddir B_APPS_DIRECTORY`/QuickLaunch/QuickLaunch \ - $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications - if [ -z "$DESTDIR" ] - then - cd `finddir B_APPS_DIRECTORY`/QuickLaunch - desklink --remove=QuickLaunch - desklink "cmd=Remove replicant:desklink --remove=QuickLaunch" QuickLaunch - fi -} - -LICENSE="MIT" -COPYRIGHT="2013 Humdinger" diff --git a/haiku-apps/quicklaunch/quicklaunch-0.9.6.recipe b/haiku-apps/quicklaunch/quicklaunch-0.9.6.recipe new file mode 100644 index 000000000..903c58163 --- /dev/null +++ b/haiku-apps/quicklaunch/quicklaunch-0.9.6.recipe @@ -0,0 +1,55 @@ +SUMMARY="A tool to quickly start any installed application" +DESCRIPTION=" + QuickLaunch is a small launcher tool that helps you to quickly start + any installed application. + Simply start to enter the name of an application and QuickLaunch will + find all programs matching these initial letters and show them in a list. + You choose an app from that list with the CursorUp/Down keys and launch + it by hitting Return. Escape quits QuickLaunch. + " +HOMEPAGE="http://sourceforge.net/projects/quicklaunch-h/" +SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#c88a50516f3154b86efb4ae58ac8daaa3e45f675" +LICENSE="MIT" +COPYRIGHT="2013 Humdinger" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + quicklaunch = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + makefile_engine + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:ld + cmd:make + cmd:mkdepend + cmd:unzip + cmd:xres + " +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + make OBJ_DIR=objects BUILDHOME=/boot/system/develop +} + +INSTALL() +{ + quicklaunchDir=$appsDir/QuickLaunch + mkdir -p $quicklaunchDir + + cp -af objects/QuickLaunch $quicklaunchDir + cp -af ReadMe.html $quicklaunchDir + cp -r images $quicklaunchDir + + chmod +x Add\ to\ Deskbar.sh + cp -af Add\ to\ Deskbar.sh $quicklaunchDir + + addAppDeskbarSymlink $quicklaunchDir/QuickLaunch +}