From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1734813835A for ; Tue, 5 Jan 2021 07:41:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 364DDE086A; Tue, 5 Jan 2021 07:41:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BDB6E085E for ; Tue, 5 Jan 2021 07:41:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBC56340C7F for ; Tue, 5 Jan 2021 07:41:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 501D548D for ; Tue, 5 Jan 2021 07:41:51 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1609832417.0d57e3266677aa64086b246c53ae715764e2220c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/splatmoji/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/splatmoji/metadata.xml x11-misc/splatmoji/splatmoji-1.2.0.ebuild X-VCS-Directories: x11-misc/splatmoji/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0d57e3266677aa64086b246c53ae715764e2220c X-VCS-Branch: master Date: Tue, 5 Jan 2021 07:41:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59e82024-fbe1-40c0-a73f-9f91b07b8fd4 X-Archives-Hash: 88111b4a6dd483d9e0f1a1c1e71e8963 commit: 0d57e3266677aa64086b246c53ae715764e2220c Author: Joonas Niilola gentoo org> AuthorDate: Tue Jan 5 07:40:17 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Jan 5 07:40:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d57e326 x11-misc/splatmoji: use optfeature in 1.2.0 Signed-off-by: Joonas Niilola gentoo.org> x11-misc/splatmoji/metadata.xml | 3 --- x11-misc/splatmoji/splatmoji-1.2.0.ebuild | 21 +++++++++++++++++---- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/x11-misc/splatmoji/metadata.xml b/x11-misc/splatmoji/metadata.xml index 9815be8e15d..8098c7e79c6 100644 --- a/x11-misc/splatmoji/metadata.xml +++ b/x11-misc/splatmoji/metadata.xml @@ -13,9 +13,6 @@ Splatmoji is a tool that lets users quickly look up and input emoji, emoticons and kaomoji via a pop-up menu. - - Escape output in JSON style using app-misc/jq - cspeterson/splatmoji diff --git a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild index acac0fd2d02..6bb90f7331e 100644 --- a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild +++ b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# 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" @@ -10,13 +12,16 @@ SRC_URI="https://github.com/cspeterson/splatmoji/archive/v${PV}.tar.gz -> ${P}.t LICENSE="MIT" KEYWORDS="~amd64" SLOT="0" -IUSE="json test" +IUSE="test" + RESTRICT="!test? ( test )" -DEPEND="test? ( app-misc/jq dev-util/shunit2 )" +DEPEND="test? ( + app-misc/jq + dev-util/shunit2 + )" RDEPEND=" app-shells/bash - json? ( app-misc/jq ) x11-misc/rofi x11-misc/xdotool x11-misc/xsel" @@ -27,10 +32,18 @@ src_test() { 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() { + elog "Optional uninstalled features:" + optfeature "JSON-style output" app-misc/jq +}