diff --git a/haiku-apps/clipdinger/clipdinger-0.1.recipe b/haiku-apps/clipdinger/clipdinger-0.1.recipe new file mode 100644 index 000000000..df75888a1 --- /dev/null +++ b/haiku-apps/clipdinger/clipdinger-0.1.recipe @@ -0,0 +1,70 @@ +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="https://github.com/humdingerb/clipdinger" +SRC_URI="git://github.com/humdingerb/clipdinger.git#e762bfb3b404537e5bb666bc78bea3dbd4a591d7" +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:gcc + cmd:make + " + +USER_SETTINGS_FILES=" + settings/Clipdinger/Clipdinger_settings + settings/Clipdinger/Clipdinger_history + " + +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 +}