mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Haiku doesn't ask applications with a set "background flag" to quit in case of a shutdown. See https://review.haiku-os.org/c/haiku/+/5800 As a stop-gap workaround, save clip history and favorites whenever they are changed.
84 lines
2.3 KiB
Bash
84 lines
2.3 KiB
Bash
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, lets you filter it \
|
|
and create your own favorites. It also offers a clipboard monitor that can \
|
|
be used as a replicant on the Desktop, always showing the current contents.
|
|
|
|
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.
|
|
|
|
After selecting a clip, you can also paste it to the an online service by \
|
|
hitting ALT + P. The returned URL for the clip is put into the \
|
|
clipboard for you to paste into your email or IRC channel etc.
|
|
|
|
ESCAPE minimizes the window without pasting.
|
|
|
|
Please see the ReadMe available from the Help menu for more details."
|
|
HOMEPAGE="https://github.com/humdingerb/clipdinger"
|
|
COPYRIGHT="2015-2022 Humdinger"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
srcGitRev="14ba6300b56ef230e60731345ba4b4ee37b6bc60"
|
|
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="c47adec44166ff4b352a9b77099cbe1ddce8899bf79c0d57b561981973111c69"
|
|
SOURCE_DIR="clipdinger-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/Clipdinger directory
|
|
"
|
|
|
|
PROVIDES="
|
|
clipdinger = $portVersion
|
|
add_on:ClipdingerInputDevice = $portVersion
|
|
app:Clipdinger = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:curl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd src
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs OBJ_DIR=objects
|
|
|
|
cd ../input_device
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
clipdingerDir=$appsDir/Clipdinger
|
|
|
|
mkdir -p $clipdingerDir
|
|
cp -af src/objects/Clipdinger $clipdingerDir
|
|
cp -af ReadMe.html $clipdingerDir
|
|
cp -r images $clipdingerDir
|
|
|
|
mkdir -p $dataDir/user_launch
|
|
cp -af Clipdinger_userlaunch $dataDir/user_launch/Clipdinger
|
|
|
|
mkdir -p $addOnsDir/input_server/devices
|
|
cp -af input_device/objects/ClipdingerInputDevice \
|
|
$addOnsDir/input_server/devices
|
|
|
|
addAppDeskbarSymlink $clipdingerDir/Clipdinger
|
|
}
|