From 03ae63aad9b8c755dac1f5ab97e0c6d921e5a8e8 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Wed, 8 Jul 2015 19:35:37 +0200 Subject: [PATCH] Update Clipdinger to v0.2. Amended small changes from PR review. And removed the quotes around the "keep-old". --- haiku-apps/clipdinger/clipdinger-0.2.recipe | 69 +++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 haiku-apps/clipdinger/clipdinger-0.2.recipe diff --git a/haiku-apps/clipdinger/clipdinger-0.2.recipe b/haiku-apps/clipdinger/clipdinger-0.2.recipe new file mode 100644 index 000000000..f76b7190d --- /dev/null +++ b/haiku-apps/clipdinger/clipdinger-0.2.recipe @@ -0,0 +1,69 @@ +SUMMARY="A tool to manage a history of the system clipboard" +DESCRIPTION="Clipdinger solves the problem that you often have to paste some \ +text you've just recently copied to the clipboard, but which has been \ +replaced by something you've copied more recently... It also saves the \ +history so it'll appear just as you left it on the last shutdown. + +Clipdinger provides a history of your recent clippings and should be started \ +automatically on every boot-up by creating a link to it at ~/config/settings/\ +boot/launch/. + +You access the history by pressing SHIFT + ALT + V, which opens the \ +Clipdinger window where you can select an entry with the cursor keys and \ +paste it by hitting RETURN. ESCAPE minimizes the window without pasting." +HOMEPAGE="http://humdingerb.github.io/clipdinger/" +SOURCE_URI="git://github.com/humdingerb/clipdinger.git#a57bce02c91462a30239d32373d4421e70bc5686" +LICENSE="MIT" +COPYRIGHT="2010-2015 Humdinger" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + clipdinger = $portVersion + app:Clipdinger = $portVersion + add_on:ClipdingerInputDevice = $portVersion + add_on:ClipdingerInputFilter = $portVersion + " +REQUIRES="haiku" + +BUILD_REQUIRES="haiku_devel" + +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +USER_SETTINGS_FILES=" + settings/Clipdinger directory keep-old + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects + make bindcatalogs OBJ_DIR=objects + + cd input_device + make $jobArgs OBJ_DIR=objects + cd ../input_filter + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + clipdingerDir=$appsDir/Clipdinger + + mkdir -p $clipdingerDir + cp -af objects/Clipdinger $clipdingerDir + cp -af ReadMe.html $clipdingerDir + cp -r images $clipdingerDir + + mkdir -p $addOnsDir/input_server/devices + mkdir -p $addOnsDir/input_server/filters + cp -af input_device/objects/ClipdingerInputDevice \ + $addOnsDir/input_server/devices + cp -af input_filter/objects/ClipdingerInputFilter \ + $addOnsDir/input_server/filters + + addAppDeskbarSymlink $clipdingerDir/Clipdinger +}