public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/
Date: Fri, 15 Jul 2022 15:11:39 +0000 (UTC)	[thread overview]
Message-ID: <1657897872.3e6b751c1cc24519d4c10e16987bbe87d8f16e7c.ionen@gentoo> (raw)

commit:     3e6b751c1cc24519d4c10e16987bbe87d8f16e7c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 14:49:03 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 15:11:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6b751c

net-misc/ytfzf: add IUSE=X for ueberzug, adjust postinst message

On second thought, may be fair to provide upstream's default, but given
ueberzug is X-only put it behind IUSE=X (also allows to auto-enable on
desktop profiles and such). No intention to add separate use for every
option, so not using IUSE=ueberzug.

IUSE=minimal will still disable everything optional should users want
to use this differently (e.g. I use kitty to display images rather than
ueberzug). Currently no straight-forward choice for wayland, so won't
provide a IUSE=wayland at the moment (could use chafa but well, not
high quality display and still requires changing settings).

Closes: https://bugs.gentoo.org/855179
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/ytfzf-2.4.0.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/net-misc/ytfzf/ytfzf-2.4.0.ebuild b/net-misc/ytfzf/ytfzf-2.4.0.ebuild
index aabfab731b1b..36a2a31e9d01 100644
--- a/net-misc/ytfzf/ytfzf-2.4.0.ebuild
+++ b/net-misc/ytfzf/ytfzf-2.4.0.ebuild
@@ -12,15 +12,14 @@ SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz ->
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="minimal"
+IUSE="X minimal"
 
-# fzf/mpv/yt-dlp "can" be optfeatures depending on configuration, but depend
-# on them so it works as expected out-of-the-box while allowing to disable.
 RDEPEND="
 	app-misc/jq
 	net-misc/curl[ssl]
 	virtual/awk
 	!minimal? (
+		X? ( media-gfx/ueberzug )
 		app-shells/fzf
 		media-video/mpv[lua]
 		net-misc/yt-dlp
@@ -49,12 +48,12 @@ src_install() {
 
 pkg_postinst() {
 	optfeature "external menu support" x11-misc/dmenu
-	optfeature "in-terminal thumbnails on X11" media-gfx/ueberzug
 	optfeature "desktop notifications" x11-libs/libnotify
 
 	if [[ ! ${REPLACING_VERSIONS} ]]; then
 		elog "Note that ${PN} supports many methods to display menus/thumbnails."
 		elog "This ebuild primarily covers defaults and major features, additional"
-		elog "dependencies may be needed for others."
+		elog "dependencies may be needed for others. Set USE=minimal if want full"
+		elog "control over optional dependencies (e.g. fzf is optional if use dmenu)."
 	fi
 }


             reply	other threads:[~2022-07-15 15:11 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 15:11 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-22  6:16 [gentoo-commits] repo/gentoo:master commit in: net-misc/ytfzf/ Ionen Wolkens
2024-02-21  2:29 Sam James
2024-01-31 16:42 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2023-09-29 10:42 Ionen Wolkens
2023-09-12 18:25 Ionen Wolkens
2023-07-14 21:32 Ionen Wolkens
2023-06-08 12:45 Arthur Zamarin
2023-05-12  9:02 Ionen Wolkens
2023-03-28  7:41 Ionen Wolkens
2023-03-25  3:19 Ionen Wolkens
2023-03-01 16:02 Ionen Wolkens
2023-01-16  5:31 Ionen Wolkens
2022-12-21  5:57 Ionen Wolkens
2022-12-20 15:00 Ionen Wolkens
2022-12-08 20:12 Ionen Wolkens
2022-11-01 20:39 Ionen Wolkens
2022-09-17  8:42 Ionen Wolkens
2022-08-11  7:37 Ionen Wolkens
2022-08-06 14:19 Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-06-29  4:18 Ionen Wolkens
2022-04-29 11:23 Ionen Wolkens
2022-04-15 20:44 Ionen Wolkens
2022-03-02 10:07 Ionen Wolkens
2022-02-23  3:02 Ionen Wolkens
2022-01-26  1:09 Ionen Wolkens
2022-01-21 14:26 Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2021-12-30  0:17 Ionen Wolkens
2021-12-21 17:15 Ionen Wolkens

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=1657897872.3e6b751c1cc24519d4c10e16987bbe87d8f16e7c.ionen@gentoo \
    --to=ionen@gentoo.org \
    --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