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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50F0115808B for ; Mon, 4 Apr 2022 23:27:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69E4AE0874; Mon, 4 Apr 2022 23:27:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3D57E0874 for ; Mon, 4 Apr 2022 23:27:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B5EE3414A3 for ; Mon, 4 Apr 2022 23:27:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1E5E2B0 for ; Mon, 4 Apr 2022 23:27:42 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1649114767.3c21ef9d1ed718b405014f6c0e51e5e092080b73.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/tessen/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/tessen/tessen-2.1.2.ebuild gui-apps/tessen/tessen-9999.ebuild X-VCS-Directories: gui-apps/tessen/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 3c21ef9d1ed718b405014f6c0e51e5e092080b73 X-VCS-Branch: dev Date: Mon, 4 Apr 2022 23:27:42 +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: 561d6ba4-d193-424e-b2ef-4927e7a15e41 X-Archives-Hash: eb37dde1fbbd2d691d6d5a6c6323af7e commit: 3c21ef9d1ed718b405014f6c0e51e5e092080b73 Author: Julien Roy jroy ca> AuthorDate: Mon Apr 4 23:26:07 2022 +0000 Commit: Julien Roy jroy ca> CommitDate: Mon Apr 4 23:26:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c21ef9d Added -9999 and optfeature logs in postinst Signed-off-by: Julien Roy jroy.ca> gui-apps/tessen/tessen-2.1.2.ebuild | 20 ++++++++++++++++++-- .../{tessen-2.1.2.ebuild => tessen-9999.ebuild} | 20 ++++++++++++++++++-- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/gui-apps/tessen/tessen-2.1.2.ebuild b/gui-apps/tessen/tessen-2.1.2.ebuild index c0d5cf2f4..825613281 100644 --- a/gui-apps/tessen/tessen-2.1.2.ebuild +++ b/gui-apps/tessen/tessen-2.1.2.ebuild @@ -3,13 +3,21 @@ EAPI=8 +inherit optfeature + DESCRIPTION="an interactive menu to autotype and copy pass and gopass data" HOMEPAGE="https://github.com/ayushnix/tessen" -SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ayushnix/${PN}.git" +else + SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" IUSE="+pass gopass dmenu bemenu wofi rofi" REQUIRED_USE="|| ( pass gopass ) @@ -24,3 +32,11 @@ RDEPEND="${DEPEND} pass? ( app-admin/pass ) gopass? ( app-admin/gopass )" BDEPEND="" + +pkg_postinst() { + optfeature "autotype support" gui-apps/wtype + optfeature "clipboard support" gui-apps/wl-clipboard + optfeature "URL opening support" x11-misc/xdg-utils + optfeature "OTP support" app-admin/pass-otp + optfeature "notifications support" x11-libs/libnotify +} diff --git a/gui-apps/tessen/tessen-2.1.2.ebuild b/gui-apps/tessen/tessen-9999.ebuild similarity index 53% copy from gui-apps/tessen/tessen-2.1.2.ebuild copy to gui-apps/tessen/tessen-9999.ebuild index c0d5cf2f4..825613281 100644 --- a/gui-apps/tessen/tessen-2.1.2.ebuild +++ b/gui-apps/tessen/tessen-9999.ebuild @@ -3,13 +3,21 @@ EAPI=8 +inherit optfeature + DESCRIPTION="an interactive menu to autotype and copy pass and gopass data" HOMEPAGE="https://github.com/ayushnix/tessen" -SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ayushnix/${PN}.git" +else + SRC_URI="https://github.com/ayushnix/tessen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" IUSE="+pass gopass dmenu bemenu wofi rofi" REQUIRED_USE="|| ( pass gopass ) @@ -24,3 +32,11 @@ RDEPEND="${DEPEND} pass? ( app-admin/pass ) gopass? ( app-admin/gopass )" BDEPEND="" + +pkg_postinst() { + optfeature "autotype support" gui-apps/wtype + optfeature "clipboard support" gui-apps/wl-clipboard + optfeature "URL opening support" x11-misc/xdg-utils + optfeature "OTP support" app-admin/pass-otp + optfeature "notifications support" x11-libs/libnotify +}