Diff splatmoji-1.1.1 with a splatmoji-1.2.0
| /usr/portage/x11-misc/splatmoji/splatmoji-1.2.0.ebuild 2023-10-09 14:52:35.948368513 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2020 Gentoo Authors |
|
| 1 |
# Copyright 1999-2021 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| 5 | 5 | |
| 6 |
inherit optfeature |
|
| 7 | ||
| 6 | 8 |
DESCRIPTION="Quickly look up and input emoji and/or emoticons" |
| 7 | 9 |
HOMEPAGE="https://github.com/cspeterson/splatmoji/" |
| 8 | 10 |
SRC_URI="https://github.com/cspeterson/splatmoji/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| ... | ... | |
| 10 | 12 |
LICENSE="MIT" |
| 11 | 13 |
KEYWORDS="~amd64" |
| 12 | 14 |
SLOT="0" |
| 15 |
IUSE="test" |
|
| 16 | ||
| 17 |
RESTRICT="!test? ( test )" |
|
| 13 | 18 | |
| 19 |
DEPEND="test? ( |
|
| 20 |
app-misc/jq |
|
| 21 |
dev-util/shunit2 |
|
| 22 |
)" |
|
| 14 | 23 |
RDEPEND=" |
| 15 | 24 |
app-shells/bash |
| 16 | 25 |
x11-misc/rofi |
| 17 | 26 |
x11-misc/xdotool |
| 18 | 27 |
x11-misc/xsel" |
| 19 | 28 | |
| 29 |
src_test() {
|
|
| 30 |
./test/unit_tests || die |
|
| 31 |
} |
|
| 32 | ||
| 20 | 33 |
src_install() {
|
| 21 | 34 |
dobin splatmoji |
| 35 | ||
| 22 | 36 |
insinto /etc/xdg/splatmoji |
| 23 | 37 |
doins splatmoji.config |
| 38 | ||
| 24 | 39 |
insinto /usr/share/splatmoji |
| 25 | 40 |
doins -r data |
| 41 | ||
| 26 | 42 |
insinto /usr/lib/splatmoji |
| 27 | 43 |
doins lib/functions |
| 28 | 44 |
} |
| 45 | ||
| 46 |
pkg_postinst() {
|
|
| 47 |
optfeature "JSON-style output" app-misc/jq |
|
| 48 |
} |
|