From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/tessen/
Date: Mon, 4 Apr 2022 23:27:42 +0000 (UTC) [thread overview]
Message-ID: <1649114767.3c21ef9d1ed718b405014f6c0e51e5e092080b73.julien@gentoo> (raw)
commit: 3c21ef9d1ed718b405014f6c0e51e5e092080b73
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr 4 23:26:07 2022 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> 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 <julien <AT> 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
+}
next reply other threads:[~2022-04-04 23:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-04 23:27 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-06 1:09 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/tessen/ Julien Roy
2024-03-06 1:06 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2023-04-14 21:09 Julien Roy
2023-04-14 21:09 Julien Roy
2023-04-10 2:43 Julien Roy
2023-04-10 2:43 Julien Roy
2022-12-22 3:52 Julien Roy
2022-11-29 21:19 Julien Roy
2022-04-05 21:08 Julien Roy
2022-04-05 0:00 Julien Roy
2022-04-03 19:51 Julien Roy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1649114767.3c21ef9d1ed718b405014f6c0e51e5e092080b73.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox