Fixed ClipUp recipe.

Improved SUMMARY, corrected SRC_URI, added USER_SETTINGS_FILES,
fixed BUILD() and INSTALL().
Use the "CTRLV" input filter version, as that seems to be the more
natural key combo.

The app still has some focus issues and it doesn't visually confirm
to the rest of the Haiku GUI, but it's basically working.
This commit is contained in:
Humdinger
2014-01-26 07:03:28 +01:00
parent 8bc9f409cc
commit 5d09658d32

View File

@@ -1,31 +1,26 @@
SUMMARY="An app to keep your latest copies"
DESCRIPTION="
Ever had something important in your clipboard but you copied something \
else? ClipUp allows you to save multiple clips, and can be shown by \
pressing option+space or clicking on the icon. It can save your clipboard content \
even when rebooting the computer!
"
SUMMARY="A tool to manage multiple clipboards"
DESCRIPTION="Ever had something important in your clipboard but you copied \
something else and lost the previous contents? ClipUp allows you to keep \
multiple clips and protect them even between reboots.
ClipUp is invoked by pressing CMD+SHIFT+V or by clicking on the icon in the \
Deskbar.
"
HOMEPAGE="https://github.com/HaikuArchives/ClipUp"
SRC_URI="git://github.com/HaikuArchives/ClipUp.git#a9218f7c0148d818969105e84d3d5e176f580521"
REVISION="1"
SRC_URI="git://github.com/HaikuArchives/ClipUp#d47f0f6835"
REVISION="2"
LICENSE="MIT"
COPYRIGHT="2002 Werner Freytag"
ARCHITECTURES="x86_gcc2"
PROVIDES="
clipup = $portVersion
app:clipup = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
@@ -37,21 +32,23 @@ BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
USER_SETTINGS_FILES="
settings/ClipUp_settings
settings/clipup_clips
"
BUILD()
{
cd trunk
cd "Input Device"
make
cd "../Input Filter"
cd "../Input Filter Ctrl-V"
make
cd "../Main"
make
cd ..
}
INSTALL()
{
cd trunk
mkdir -p $addOnsDir/input_server/devices
mkdir -p $addOnsDir/input_server/filters
@@ -60,7 +57,7 @@ INSTALL()
mv temp/* $addOnsDir/input_server/devices
cd ..
cd "Input Filter"
cd "Input Filter Ctrl-V"
make install INSTALL_DIR=temp
mv temp/* $addOnsDir/input_server/filters
cd ..
@@ -68,6 +65,5 @@ INSTALL()
cd "Main"
make install INSTALL_DIR=$appsDir
mkdir -p "$dataDir/deskbar/menu/Desktop applets"
symlinkRelative -s "$appsDir/ClipUp" "$dataDir/deskbar/menu/Desktop applets"
symlinkRelative -s "$appsDir/ClipUp" "$dataDir/deskbar/menu/Desktop applets"
}