Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/splatmoji/
Date: Sun, 27 Dec 2020 05:12:27
Message-Id: 1609045687.a6e5b892e226c644c2b92d238f58df2f9b9fc7b5.sam@gentoo
1 commit: a6e5b892e226c644c2b92d238f58df2f9b9fc7b5
2 Author: William Pettersson <william <AT> ewpettersson <DOT> se>
3 AuthorDate: Fri Dec 25 00:22:35 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 05:08:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e5b892
7
8 x11-misc/splatmoji: Version bump
9
10 Adds history file support and new copy-paste methods
11
12 Package-Manager: Portage-3.0.11, Repoman-3.0.2
13 Signed-off-by: William Pettersson <william <AT> ewpettersson.se>
14 Closes: https://github.com/gentoo/gentoo/pull/18808
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 x11-misc/splatmoji/Manifest | 1 +
18 x11-misc/splatmoji/metadata.xml | 3 +++
19 x11-misc/splatmoji/splatmoji-1.2.0.ebuild | 37 +++++++++++++++++++++++++++++++
20 3 files changed, 41 insertions(+)
21
22 diff --git a/x11-misc/splatmoji/Manifest b/x11-misc/splatmoji/Manifest
23 index cb02709b9b0..c5a9dad4a93 100644
24 --- a/x11-misc/splatmoji/Manifest
25 +++ b/x11-misc/splatmoji/Manifest
26 @@ -1 +1,2 @@
27 DIST splatmoji-1.1.1.tar.gz 4329965 BLAKE2B 6c9958bc8448d4e1c84358a7631d9b69c6d38cfedf42c86b5b220e0c380c5080de6653698ede6564817fcfd3d9e68603bd472ad43473c528580176baf7735d81 SHA512 d283d633ec9ff6a3345918518aabe72af56ab5bc71991e7324f85d5eae4ec078ca6a5f6aafbd8b8ebad0cb9fb18f15d68eca5662a4c895aa615d851d9c7ed845
28 +DIST splatmoji-1.2.0.tar.gz 4331395 BLAKE2B 2a786aba2ffc652c16fa479c0c2f2cba9b54508b2567f9d0d4269b81f100a8d1abe81926e9eaa9fbd3eb84617806755c21abdfd56fcdb0e58efcacc7dc2f3260 SHA512 d4f906bd6aac862cf696d159dca0a0a3317912d16a79ed036b313817bfee03b89900975b6d2cd3e24ea907d3e9fe8ffa501164dc9fead1017d91bc4c545e96c9
29
30 diff --git a/x11-misc/splatmoji/metadata.xml b/x11-misc/splatmoji/metadata.xml
31 index 8098c7e79c6..9815be8e15d 100644
32 --- a/x11-misc/splatmoji/metadata.xml
33 +++ b/x11-misc/splatmoji/metadata.xml
34 @@ -13,6 +13,9 @@
35 Splatmoji is a tool that lets users quickly look up and input emoji,
36 emoticons and kaomoji via a pop-up menu.
37 </longdescription>
38 + <use>
39 + <flag name="json">Escape output in JSON style using <pkg>app-misc/jq</pkg></flag>
40 + </use>
41 <upstream>
42 <remote-id type="github">cspeterson/splatmoji</remote-id>
43 </upstream>
44
45 diff --git a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
46 new file mode 100644
47 index 00000000000..e9b0b7f19ef
48 --- /dev/null
49 +++ b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
50 @@ -0,0 +1,37 @@
51 +# Copyright 1999-2020 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=7
55 +
56 +DESCRIPTION="Quickly look up and input emoji and/or emoticons"
57 +HOMEPAGE="https://github.com/cspeterson/splatmoji/"
58 +SRC_URI="https://github.com/cspeterson/splatmoji/archive/v${PV}.tar.gz -> ${P}.tar.gz"
59 +
60 +LICENSE="MIT"
61 +KEYWORDS="~amd64"
62 +SLOT="0"
63 +IUSE="json test"
64 +RESTRICT="!test? ( test )"
65 +
66 +DEPEND="test? ( dev-util/shunit2 app-misc/jq )"
67 +
68 +RDEPEND="
69 + app-shells/bash
70 + json? ( app-misc/jq )
71 + x11-misc/rofi
72 + x11-misc/xdotool
73 + x11-misc/xsel"
74 +
75 +src_install() {
76 + dobin splatmoji
77 + insinto /etc/xdg/splatmoji
78 + doins splatmoji.config
79 + insinto /usr/share/splatmoji
80 + doins -r data
81 + insinto /usr/lib/splatmoji
82 + doins lib/functions
83 +}
84 +
85 +src_test() {
86 + ./test/unit_tests
87 +}