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: Mon, 16 Jan 2023 05:31:34 +0000 (UTC)	[thread overview]
Message-ID: <1673847012.fd53555d823e7d2deab67e308124068d3033de1a.ionen@gentoo> (raw)

commit:     fd53555d823e7d2deab67e308124068d3033de1a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 05:26:54 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 05:30:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd53555d

net-misc/ytfzf: add 2.5.4 unkeyworded

While this fixes a few things, there's a few major regressions
(e.g. with ueberzug) that seem already fixed upstream. Rather
than attempt backports, expect may be another release soon so
just adding unkeyworded meanwhile.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/ytfzf/Manifest           |  1 +
 net-misc/ytfzf/ytfzf-2.5.4.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index ef245162cbf8..eee178f4360e 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1 +1,2 @@
 DIST ytfzf-2.5.3.tar.gz 3265442 BLAKE2B e920bf60a567741cc84739d20f282c27036eafaa823ea273439e49f9b855798a11f611ee8b4893490538d24c3039f2780451272f82ead73c45fb0f2124e05417 SHA512 fcc9e6064fe381972f30a94fd418ba9a497fed4be891f40b75e608a4c095f7b311000ae104d8e877b52622defa4ff57cb0ec1ace4d034ba08f0ff3985438d58d
+DIST ytfzf-2.5.4.tar.gz 3273455 BLAKE2B 9e4ba90cca7a17fc8c7283097db1925582b9dbb85b9b83db77f2e20a48db7566a8396114256bcb61bffb281ac0ce64f199702f495cd07f2e4e11d0c81605a973 SHA512 48ab12314a638d2682eb387c1d0bd2c8979762287194d897d801c1b845c28e3e6c2b383e1fede75e0b0649ab401855e6a9ee48a58cfc4e08b0f291da877ed150

diff --git a/net-misc/ytfzf/ytfzf-2.5.4.ebuild b/net-misc/ytfzf/ytfzf-2.5.4.ebuild
new file mode 100644
index 000000000000..17d70945b125
--- /dev/null
+++ b/net-misc/ytfzf/ytfzf-2.5.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Posix script to find and watch youtube videos from the terminal"
+HOMEPAGE="https://github.com/pystardust/ytfzf/"
+SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+# this release seem to ahve several regressions, expecting another release soon
+#KEYWORDS="~amd64 ~x86"
+IUSE="X minimal"
+
+RDEPEND="
+	app-misc/jq
+	net-misc/curl[ssl]
+	app-alternatives/awk
+	!minimal? (
+		X? ( media-gfx/ueberzug )
+		app-shells/fzf
+		media-video/mpv[lua]
+		net-misc/yt-dlp
+	)"
+
+src_prepare() {
+	default
+
+	sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	local emakeargs=(
+		DESTDIR="${D}"
+		PREFIX="${EPREFIX}"/usr
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
+	)
+
+	emake "${emakeargs[@]}" addons doc install
+	einstalldocs
+
+	rm -r "${ED}"/usr/share/licenses || die
+}
+
+pkg_postinst() {
+	optfeature "external menu support" x11-misc/dmenu
+	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. Set USE=minimal if want full"
+		elog "control over optional dependencies (e.g. fzf is optional if use dmenu)."
+	fi
+}


             reply	other threads:[~2023-01-16  5:31 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16  5:31 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
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-15 15:11 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=1673847012.fd53555d823e7d2deab67e308124068d3033de1a.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