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: Sat,  6 Aug 2022 14:19:40 +0000 (UTC)	[thread overview]
Message-ID: <1659795562.e8ae6b77c611069be4be46ee6a22862e8284815c.ionen@gentoo> (raw)

commit:     e8ae6b77c611069be4be46ee6a22862e8284815c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 14:19:22 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 14:19:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ae6b77

net-misc/ytfzf: add 2.4.1

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

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

diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest
index a5c88b01de08..47b9c4285f0e 100644
--- a/net-misc/ytfzf/Manifest
+++ b/net-misc/ytfzf/Manifest
@@ -1 +1,2 @@
 DIST ytfzf-2.4.0.tar.gz 3253168 BLAKE2B e25bd13c01f5b035378dd6657358bc2ec67ff29f1db42fc8c07f0f820252efa4e6da6342265ea4107ec3179d317ac9742646a641a1c9e4e2a84360b39df6bf3d SHA512 9b66d8b56bb8a35baf04a5d34614882f8302e2f543d12182188438c50a76cca1182d7ac3a4a7a3d80d7c924478fd3af7968701e5d5ab8531a9d6f4ed5b731ece
+DIST ytfzf-2.4.1.tar.gz 3256903 BLAKE2B e95fc86d1ed2099aeb96d8daf808861e279865e17758dc8b0b5fa4c349dd819371012d13073f89b94469f1d69f00b66bb01860e3190e324baadc30e2cbae8074 SHA512 f0be168d5fd32cc75f95d0533a093cb9e3aa238d39e024271d69f078b974da51504bd1fd65a34378085a148f1ddae68f6c2fdc15c7a56c2353ec3d6695451771

diff --git a/net-misc/ytfzf/ytfzf-2.4.1.ebuild b/net-misc/ytfzf/ytfzf-2.4.1.ebuild
new file mode 100644
index 000000000000..36a2a31e9d01
--- /dev/null
+++ b/net-misc/ytfzf/ytfzf-2.4.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021-2022 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"
+KEYWORDS="~amd64 ~x86"
+IUSE="X minimal"
+
+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
+	)"
+
+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:[~2022-08-06 14:19 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 14:19 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-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=1659795562.e8ae6b77c611069be4be46ee6a22862e8284815c.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