x11-misc/splatmoji - 1.2.0 (gentoo)

Search

Package Information

Description:
Quickly look up and input emoji and/or emoticons
Homepage:
https://github.com/cspeterson/splatmoji/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.0 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit optfeature

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="test"

RESTRICT="!test? ( test )"

DEPEND="test? (
		app-misc/jq
		dev-util/shunit2
	)"
RDEPEND="
	app-shells/bash
	x11-misc/rofi
	x11-misc/xdotool
	x11-misc/xsel"

src_test() {
	./test/unit_tests || die
}

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
}

pkg_postinst() {
	optfeature "JSON-style output" app-misc/jq
}

USE Flags

Dependencies

DEPEND

test? (
		app-misc/jq
		dev-util/shunit2
	)

RDEPEND

	app-shells/bash
	x11-misc/rofi
	x11-misc/xdotool
	x11-misc/xsel

Manifest for 1.2.0

Type File Size Source URLs
DIST splatmoji-1.2.0.tar.gz 4331395 bytes https://github.com/cspeterson/splatmoji/archive/v1.2.0.tar.gz