summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pettersson <william@ewpettersson.se>2020-12-25 00:22:35 +0000
committerSam James <sam@gentoo.org>2020-12-27 05:08:07 +0000
commita6e5b892e226c644c2b92d238f58df2f9b9fc7b5 (patch)
treeb1d292d25d50422373a4d58d4f38fcf53b1cde42 /x11-misc/splatmoji
parentgnome-extra/cinnamon-screensaver: Add missing accountsservice dependency (diff)
downloadgentoo-a6e5b892e226c644c2b92d238f58df2f9b9fc7b5.tar.gz
gentoo-a6e5b892e226c644c2b92d238f58df2f9b9fc7b5.tar.bz2
gentoo-a6e5b892e226c644c2b92d238f58df2f9b9fc7b5.zip
x11-misc/splatmoji: Version bump
Adds history file support and new copy-paste methods Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: William Pettersson <william@ewpettersson.se> Closes: https://github.com/gentoo/gentoo/pull/18808 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/splatmoji')
-rw-r--r--x11-misc/splatmoji/Manifest1
-rw-r--r--x11-misc/splatmoji/metadata.xml3
-rw-r--r--x11-misc/splatmoji/splatmoji-1.2.0.ebuild37
3 files changed, 41 insertions, 0 deletions
diff --git a/x11-misc/splatmoji/Manifest b/x11-misc/splatmoji/Manifest
index cb02709b9b08..c5a9dad4a930 100644
--- a/x11-misc/splatmoji/Manifest
+++ b/x11-misc/splatmoji/Manifest
@@ -1 +1,2 @@
DIST splatmoji-1.1.1.tar.gz 4329965 BLAKE2B 6c9958bc8448d4e1c84358a7631d9b69c6d38cfedf42c86b5b220e0c380c5080de6653698ede6564817fcfd3d9e68603bd472ad43473c528580176baf7735d81 SHA512 d283d633ec9ff6a3345918518aabe72af56ab5bc71991e7324f85d5eae4ec078ca6a5f6aafbd8b8ebad0cb9fb18f15d68eca5662a4c895aa615d851d9c7ed845
+DIST splatmoji-1.2.0.tar.gz 4331395 BLAKE2B 2a786aba2ffc652c16fa479c0c2f2cba9b54508b2567f9d0d4269b81f100a8d1abe81926e9eaa9fbd3eb84617806755c21abdfd56fcdb0e58efcacc7dc2f3260 SHA512 d4f906bd6aac862cf696d159dca0a0a3317912d16a79ed036b313817bfee03b89900975b6d2cd3e24ea907d3e9fe8ffa501164dc9fead1017d91bc4c545e96c9
diff --git a/x11-misc/splatmoji/metadata.xml b/x11-misc/splatmoji/metadata.xml
index 8098c7e79c6b..9815be8e15d4 100644
--- a/x11-misc/splatmoji/metadata.xml
+++ b/x11-misc/splatmoji/metadata.xml
@@ -13,6 +13,9 @@
Splatmoji is a tool that lets users quickly look up and input emoji,
emoticons and kaomoji via a pop-up menu.
</longdescription>
+ <use>
+ <flag name="json">Escape output in JSON style using <pkg>app-misc/jq</pkg></flag>
+ </use>
<upstream>
<remote-id type="github">cspeterson/splatmoji</remote-id>
</upstream>
diff --git a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
new file mode 100644
index 000000000000..e9b0b7f19ef1
--- /dev/null
+++ b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Quickly look up and input emoji and/or emoticons"
+HOMEPAGE="https://github.com/cspeterson/splatmoji/"
+SRC_URI="https://github.com/cspeterson/splatmoji/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="json test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-util/shunit2 app-misc/jq )"
+
+RDEPEND="
+ app-shells/bash
+ json? ( app-misc/jq )
+ x11-misc/rofi
+ x11-misc/xdotool
+ x11-misc/xsel"
+
+src_install() {
+ dobin splatmoji
+ insinto /etc/xdg/splatmoji
+ doins splatmoji.config
+ insinto /usr/share/splatmoji
+ doins -r data
+ insinto /usr/lib/splatmoji
+ doins lib/functions
+}
+
+src_test() {
+ ./test/unit_tests
+}