summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Makefile1
-rw-r--r--x11/xmoji/Makefile35
-rw-r--r--x11/xmoji/distinfo3
-rw-r--r--x11/xmoji/pkg-descr3
-rw-r--r--x11/xmoji/pkg-message8
-rw-r--r--x11/xmoji/pkg-plist7
6 files changed, 57 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 24f1a2cc9320..e49fd38776ef 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -603,6 +603,7 @@
SUBDIR += xmessage
SUBDIR += xmh
SUBDIR += xmodmap
+ SUBDIR += xmoji
SUBDIR += xmore
SUBDIR += xmotd
SUBDIR += xmsg
diff --git a/x11/xmoji/Makefile b/x11/xmoji/Makefile
new file mode 100644
index 000000000000..545744801e36
--- /dev/null
+++ b/x11/xmoji/Makefile
@@ -0,0 +1,35 @@
+PORTNAME= xmoji
+DISTVERSION= 0.7
+CATEGORIES= x11
+MASTER_SITES= ${WWW}/releases/download/v${DISTVERSION}/
+
+MAINTAINER= zirias@FreeBSD.org
+COMMENT= Plain X11 emoji keyboard
+WWW= https://github.com/Zirias/xmoji
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libharfbuzz.so:print/harfbuzz \
+ libpng16.so:graphics/png \
+ libposercore.so:devel/poser \
+ libxcb-cursor.so:x11/xcb-util-cursor \
+ libxcb-image.so:x11/xcb-util-image \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= compiler:c11 gmake pkgconfig tar:xz xorg
+USE_XORG= xcb
+
+MAKEFILE= GNUmakefile
+MAKE_ARGS= BUNDLED_POSER=off
+
+OPTIONS_DEFINE= DOCS SVG TRACE
+OPTIONS_DEFAULT= SVG
+SVG_DESC= Support glyphs in SVG format
+TRACE_DESC= Build with X11 request tracing (for debugging)
+SVG_MAKE_ARGS_OFF= WITH_SVG=off
+TRACE_MAKE_ARGS= TRACE=on
+
+.include <bsd.port.mk>
diff --git a/x11/xmoji/distinfo b/x11/xmoji/distinfo
new file mode 100644
index 000000000000..9cd665c3a082
--- /dev/null
+++ b/x11/xmoji/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724865763
+SHA256 (xmoji-0.7.tar.xz) = 14b1aea479474fdcfe0159215be6f4c27020e78e1bc5c4627842daea79bdc6c1
+SIZE (xmoji-0.7.tar.xz) = 277636
diff --git a/x11/xmoji/pkg-descr b/x11/xmoji/pkg-descr
new file mode 100644
index 000000000000..a61858f97824
--- /dev/null
+++ b/x11/xmoji/pkg-descr
@@ -0,0 +1,3 @@
+Xmoji is a simple emoji keyboard for X11 designed to work without
+relying on any toolkit or input method. It doesn't use a toolkit itself
+and instead renders its GUI using XRender requests.
diff --git a/x11/xmoji/pkg-message b/x11/xmoji/pkg-message
new file mode 100644
index 000000000000..c5bc0877c27e
--- /dev/null
+++ b/x11/xmoji/pkg-message
@@ -0,0 +1,8 @@
+[
+{ type: install
+ message: <<EOM
+For the UI to display correctly, install a font containing all the latest
+Unicode emojis, for example x11-fonts/noto-emoji.
+EOM
+}
+]
diff --git a/x11/xmoji/pkg-plist b/x11/xmoji/pkg-plist
new file mode 100644
index 000000000000..e9dbbb7f8b8f
--- /dev/null
+++ b/x11/xmoji/pkg-plist
@@ -0,0 +1,7 @@
+bin/xmoji
+share/applications/xmoji.desktop
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+share/icons/hicolor/16x16/apps/xmoji.png
+share/icons/hicolor/256x256/apps/xmoji.png
+share/icons/hicolor/32x32/apps/xmoji.png
+share/icons/hicolor/48x48/apps/xmoji.png