aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-05-22 01:15:30 +0800
committeryuri <yuri@FreeBSD.org>2018-05-22 01:15:30 +0800
commitcdc26dbb7955d14250da25beba2672673dff17aa (patch)
tree6b7bca50823a63871ff9db116b089981d9296dbd
parentd698c8064d34619136566cfd78c1c6889074781e (diff)
downloadfreebsd-ports-gnome-cdc26dbb7955d14250da25beba2672673dff17aa.tar.gz
freebsd-ports-gnome-cdc26dbb7955d14250da25beba2672673dff17aa.tar.zst
freebsd-ports-gnome-cdc26dbb7955d14250da25beba2672673dff17aa.zip
New port: textproc/ibus-uniemoji: Input method for entering unicode symbols and emoji by name
PR: 227269 Submitted by: Greg V <greg@unrelenting.technology>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/ibus-uniemoji/Makefile27
-rw-r--r--textproc/ibus-uniemoji/distinfo3
-rw-r--r--textproc/ibus-uniemoji/pkg-descr4
-rw-r--r--textproc/ibus-uniemoji/pkg-plist8
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index efc9b7e085e8..830e57fb6672 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -335,6 +335,7 @@
SUBDIR += ibus-qt
SUBDIR += ibus-table
SUBDIR += ibus-typing-booster
+ SUBDIR += ibus-uniemoji
SUBDIR += icdiff
SUBDIR += id-aspell
SUBDIR += id-hyphen
diff --git a/textproc/ibus-uniemoji/Makefile b/textproc/ibus-uniemoji/Makefile
new file mode 100644
index 000000000000..b4819d169fa2
--- /dev/null
+++ b/textproc/ibus-uniemoji/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= ibus-uniemoji
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.0-16
+DISTVERSIONSUFFIX= -ga26c364
+CATEGORIES= textproc
+
+MAINTAINER= greg@unrelenting.technology
+COMMENT= Input method for entering unicode symbols and emoji by name
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>0:devel/py-python-Levenshtein@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${FLAVOR} \
+ ${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:textproc/ibus
+
+USES= gmake python:3.4+ shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= salty-horse
+USE_GNOME= glib20 pygobject3
+SHEBANG_GLOB= *.py
+
+MAKE_ENV= PYTHON=${PYTHON_CMD} SYSCONFDIR=${PREFIX}/etc
+
+.include <bsd.port.mk>
diff --git a/textproc/ibus-uniemoji/distinfo b/textproc/ibus-uniemoji/distinfo
new file mode 100644
index 000000000000..3f9234abb157
--- /dev/null
+++ b/textproc/ibus-uniemoji/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526922267
+SHA256 (salty-horse-ibus-uniemoji-v0.6.0-16-ga26c364_GH0.tar.gz) = d916db03811d5ebb1616aff36ae4299aa08843942bbbf9be1268d0e473088687
+SIZE (salty-horse-ibus-uniemoji-v0.6.0-16-ga26c364_GH0.tar.gz) = 2485374
diff --git a/textproc/ibus-uniemoji/pkg-descr b/textproc/ibus-uniemoji/pkg-descr
new file mode 100644
index 000000000000..19c2086be303
--- /dev/null
+++ b/textproc/ibus-uniemoji/pkg-descr
@@ -0,0 +1,4 @@
+This simple input method for ibus allows you to enter unicode emoji and
+other symbols by name.
+
+WWW: https://github.com/salty-horseibus-uniemoji
diff --git a/textproc/ibus-uniemoji/pkg-plist b/textproc/ibus-uniemoji/pkg-plist
new file mode 100644
index 000000000000..f3db2827bbcb
--- /dev/null
+++ b/textproc/ibus-uniemoji/pkg-plist
@@ -0,0 +1,8 @@
+etc/xdg/uniemoji/custom.json
+%%DATADIR%%/UnicodeData.txt
+%%DATADIR%%/config.py
+%%DATADIR%%/emojione.json
+%%DATADIR%%/ibus.py
+%%DATADIR%%/uniemoji.py
+%%DATADIR%%/uniemoji.svg
+share/ibus/component/uniemoji.xml