1 |
commit: b7d039dac37b450e00cd963070b41ba822a6880a |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 1 19:57:06 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 1 20:32:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7d039da |
7 |
|
8 |
net-misc/ytfzf: drop 2.5.0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
net-misc/ytfzf/Manifest | 1 - |
13 |
net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch | 16 ------- |
14 |
net-misc/ytfzf/ytfzf-2.5.0.ebuild | 63 ------------------------- |
15 |
3 files changed, 80 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest |
18 |
index 096082e1ce76..6824a2467eb1 100644 |
19 |
--- a/net-misc/ytfzf/Manifest |
20 |
+++ b/net-misc/ytfzf/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST ytfzf-2.5.0.tar.gz 3260280 BLAKE2B 33535afc6be18fe9efeddf666ccdc646db227fcb601a52baeaca91b9316b87b1300fdab50ceca5eb9e21fef5571a87e917f78f71b97e7ec2abbebf5158b4487d SHA512 43e366694687be517a0b3da0d16e423f32046ab5de92368748e87c622f43e34bd1037f01b37fcb05ae8ce87ca536672cf3f5ca2b2608bab07ec9f4abeabb61ec |
23 |
DIST ytfzf-2.5.2.tar.gz 3263326 BLAKE2B aa0e6b01ba90217df1e488cfbe74f44baadee0fa5f6e29f45ef79af9a0d9587ef394b345ddf6b8a86282f57f097c6728adccba2e444eda38d1746ae95438900f SHA512 aa87d2f3c50bfed3c49d363b23bdf17c6c5307116648f3042148d828d204cc9f1ce61888a82fade26e46dc46991cb2c8f559f5f9aa671d8bcf425d343fdff389 |
24 |
|
25 |
diff --git a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch |
26 |
deleted file mode 100644 |
27 |
index 11023779e690..000000000000 |
28 |
--- a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch |
29 |
+++ /dev/null |
30 |
@@ -1,16 +0,0 @@ |
31 |
-https://github.com/pystardust/ytfzf/commit/cfc739211352b0d5249e48419a34ee6e1913aadd |
32 |
-From: Euro20179 <sandollar2020@×××××.com> |
33 |
-Date: Tue, 13 Sep 2022 18:50:36 -0700 |
34 |
-Subject: [PATCH] fix: if cache dir is missing, ytfzf complains when trying to |
35 |
- create instances.json |
36 |
---- a/ytfzf |
37 |
-+++ b/ytfzf |
38 |
-@@ -2278,6 +2278,8 @@ do_an_event_function "on_post_set_vars" |
39 |
- # files |
40 |
- : "${hist_file:="$cache_dir/watch_hist"}" "${search_hist_file:="$cache_dir/search_hist"}" |
41 |
- |
42 |
-+[ ! -d "$cache_dir" ] && mkdir -p "$cache_dir" |
43 |
-+ |
44 |
- # Where do we put the list of healthy instances? |
45 |
- : "${instances_file:="$cache_dir/instances.json"}" |
46 |
- |
47 |
|
48 |
diff --git a/net-misc/ytfzf/ytfzf-2.5.0.ebuild b/net-misc/ytfzf/ytfzf-2.5.0.ebuild |
49 |
deleted file mode 100644 |
50 |
index 743a99d9afe1..000000000000 |
51 |
--- a/net-misc/ytfzf/ytfzf-2.5.0.ebuild |
52 |
+++ /dev/null |
53 |
@@ -1,63 +0,0 @@ |
54 |
-# Copyright 2021-2022 Gentoo Authors |
55 |
-# Distributed under the terms of the GNU General Public License v2 |
56 |
- |
57 |
-EAPI=8 |
58 |
- |
59 |
-inherit optfeature |
60 |
- |
61 |
-DESCRIPTION="Posix script to find and watch youtube videos from the terminal" |
62 |
-HOMEPAGE="https://github.com/pystardust/ytfzf/" |
63 |
-SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
64 |
- |
65 |
-LICENSE="GPL-3" |
66 |
-SLOT="0" |
67 |
-KEYWORDS="~amd64 ~x86" |
68 |
-IUSE="X minimal" |
69 |
- |
70 |
-RDEPEND=" |
71 |
- app-misc/jq |
72 |
- net-misc/curl[ssl] |
73 |
- virtual/awk |
74 |
- !minimal? ( |
75 |
- X? ( media-gfx/ueberzug ) |
76 |
- app-shells/fzf |
77 |
- media-video/mpv[lua] |
78 |
- net-misc/yt-dlp |
79 |
- )" |
80 |
- |
81 |
-PATCHES=( |
82 |
- "${FILESDIR}"/${P}-cachedir.patch |
83 |
-) |
84 |
- |
85 |
-src_prepare() { |
86 |
- default |
87 |
- |
88 |
- sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die |
89 |
-} |
90 |
- |
91 |
-src_compile() { :; } |
92 |
- |
93 |
-src_install() { |
94 |
- local emakeargs=( |
95 |
- DESTDIR="${D}" |
96 |
- PREFIX="${EPREFIX}"/usr |
97 |
- DOCDIR="${EPREFIX}"/usr/share/doc/${PF} |
98 |
- ) |
99 |
- |
100 |
- emake "${emakeargs[@]}" addons doc install |
101 |
- einstalldocs |
102 |
- |
103 |
- rm -r "${ED}"/usr/share/licenses || die |
104 |
-} |
105 |
- |
106 |
-pkg_postinst() { |
107 |
- optfeature "external menu support" x11-misc/dmenu |
108 |
- optfeature "desktop notifications" x11-libs/libnotify |
109 |
- |
110 |
- if [[ ! ${REPLACING_VERSIONS} ]]; then |
111 |
- elog "Note that ${PN} supports many methods to display menus/thumbnails." |
112 |
- elog "This ebuild primarily covers defaults and major features, additional" |
113 |
- elog "dependencies may be needed for others. Set USE=minimal if want full" |
114 |
- elog "control over optional dependencies (e.g. fzf is optional if use dmenu)." |
115 |
- fi |
116 |
-} |