1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11/rofi-emoji: New port: Emoji selector plugin for rofi

An emoji selector plugin for Rofi that copies the selected emoji to the
clipboard, among other things.

The plugin adds a Rofi mode that displays a menu of emojis and allows
searching by emoji names and their tags. The selected emoji can be
copied or inserted. See the project web site or the optional port
documentation for more features and configuration options.

The plugin can be used, for example, by running Rofi with the following
flags:

   rofi -modi emoji -show emoji

PR:	265577
Reported by:	Maja Reberc <maja.reberc@freedommail.ch>
This commit is contained in:
Nicola Vitale 2022-11-25 15:09:40 +01:00
parent d2dcb06cbd
commit aadbba4de5
No known key found for this signature in database
GPG Key ID: A51E190C4C0808D0
6 changed files with 66 additions and 0 deletions

View File

@ -317,6 +317,7 @@
SUBDIR += rgb
SUBDIR += rofi
SUBDIR += rofi-calc
SUBDIR += rofi-emoji
SUBDIR += rofi-pass
SUBDIR += rofi-wayland
SUBDIR += roxterm

38
x11/rofi-emoji/Makefile Normal file
View File

@ -0,0 +1,38 @@
PORTNAME= rofi-emoji
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.1
CATEGORIES= x11
MAINTAINER= maja.reberc@freedommail.ch
COMMENT= Emoji selector plugin for rofi
WWW= https://github.com/Mange/rofi-emoji
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= rofi:x11/rofi
RUN_DEPENDS= rofi:x11/rofi \
xclip:x11/xclip \
xdotool:x11/xdotool \
xsel:x11/xsel-conrad
USES= autoreconf gettext-runtime gnome libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= Mange
USE_GNOME= cairo glib20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e '/^dist_pkgdata_DATA/s/README.md LICENSE//' ${WRKSRC}/Makefile.am
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
x11/rofi-emoji/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1659445975
SHA256 (Mange-rofi-emoji-v3.0.1_GH0.tar.gz) = a773e62acac7cb1d2e10ba838149f6508a7541e36b15b620299bd8b8f2fd2056
SIZE (Mange-rofi-emoji-v3.0.1_GH0.tar.gz) = 364940

12
x11/rofi-emoji/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
An emoji selector plugin for Rofi that copies the selected emoji to the
clipboard, among other things.
The plugin adds a Rofi mode that displays a menu of emojis and allows
searching by emoji names and their tags. The selected emoji can be
copied or inserted. See the project web site or the optional port
documentation for more features and configuration options.
The plugin can be used, for example, by running Rofi with the following
flags:
rofi -modi emoji -show emoji

View File

@ -0,0 +1,9 @@
[
{ type: install
message: <<EOM
For copy and insert support on Wayland, install the following ports:
* x11/wl-clipboard
* x11/wtype
EOM
}
]

3
x11/rofi-emoji/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
lib/rofi/emoji.so
%%DATADIR%%/all_emojis.txt
%%DATADIR%%/clipboard-adapter.sh