clipnotify is a simple program that, using the XFIXES extension to X11,

waits until a new selection is available and then exits.

It was primarily designed for clipmenu, to avoid polling for new selections.

WWW: https://github.com/cdown/clipnotify
This commit is contained in:
Nicola Vitale 2020-09-25 19:43:32 +00:00
parent e5e06c6c1d
commit 01705733ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550074
4 changed files with 39 additions and 0 deletions

View File

@ -31,6 +31,7 @@
SUBDIR += charmtimetracker
SUBDIR += chart
SUBDIR += clipit
SUBDIR += clipnotify
SUBDIR += conkyforecast
SUBDIR += copyq
SUBDIR += countdown

View File

@ -0,0 +1,29 @@
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= clipnotify
DISTVERSION= 1.0.2
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
COMMENT= Program to notify on new X clipboard events
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= xorg
PLIST_FILES= bin/${PORTNAME}
USE_XORG= x11 xfixes
USE_GITHUB= yes
GH_ACCOUNT= cdown
post-extract:
@${REINPLACE_CMD} -e 's,/usr/X11R6,$${LOCALBASE},g' ${WRKSRC}/Makefile
do-install:
@cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1601047662
SHA256 (cdown-clipnotify-1.0.2_GH0.tar.gz) = 949125472e8b7d8718ade926812ae99676b86c2f95c54f7bf47ab00ac8edc93c
SIZE (cdown-clipnotify-1.0.2_GH0.tar.gz) = 1318

View File

@ -0,0 +1,6 @@
clipnotify is a simple program that, using the XFIXES extension to X11,
waits until a new selection is available and then exits.
It was primarily designed for clipmenu, to avoid polling for new selections.
WWW: https://github.com/cdown/clipnotify