1 |
commit: d8d5d47cb7bc6a643a9e359cc94511572f951311 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 2 09:40:01 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 2 09:53:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d5d47c |
7 |
|
8 |
net-misc/youtube-dl: drop 2021.12.17-r0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild | 74 ------------------------ |
13 |
1 file changed, 74 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild |
16 |
deleted file mode 100644 |
17 |
index 930e29bbba4d..000000000000 |
18 |
--- a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,74 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} ) |
27 |
- |
28 |
-inherit bash-completion-r1 distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Download videos from YouTube.com (and more sites...)" |
31 |
-HOMEPAGE="https://youtube-dl.org/ https://github.com/ytdl-org/youtube-dl/" |
32 |
-SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz" |
33 |
-S=${WORKDIR}/${PN} |
34 |
- |
35 |
-LICENSE="public-domain" |
36 |
-KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" |
37 |
-SLOT="0" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- dev-python/pycryptodome[${PYTHON_USEDEP}] |
41 |
-" |
42 |
- |
43 |
-distutils_enable_tests nose |
44 |
- |
45 |
-src_prepare() { |
46 |
- sed -i -e '/flake8/d' Makefile || die |
47 |
- distutils-r1_src_prepare |
48 |
-} |
49 |
- |
50 |
-python_test() { |
51 |
- emake offlinetest |
52 |
-} |
53 |
- |
54 |
-python_install_all() { |
55 |
- doman youtube-dl.1 |
56 |
- |
57 |
- newbashcomp youtube-dl.bash-completion youtube-dl |
58 |
- |
59 |
- insinto /usr/share/zsh/site-functions |
60 |
- newins youtube-dl.zsh _youtube-dl |
61 |
- |
62 |
- insinto /usr/share/fish/vendor_completions.d |
63 |
- doins youtube-dl.fish |
64 |
- |
65 |
- distutils-r1_python_install_all |
66 |
- |
67 |
- rm -r "${ED}"/usr/etc || die |
68 |
- rm -r "${ED}"/usr/share/doc/youtube_dl || die |
69 |
-} |
70 |
- |
71 |
-pkg_postinst() { |
72 |
- if ! has_version media-video/ffmpeg; then |
73 |
- elog "${PN} works fine on its own on most sites. However, if you want" |
74 |
- elog "to convert video/audio, you'll need media-video/ffmpeg." |
75 |
- elog "On some sites - most notably YouTube - videos can be retrieved in" |
76 |
- elog "a higher quality format without sound. ${PN} will detect whether" |
77 |
- elog "ffmpeg is present and automatically pick the best option." |
78 |
- fi |
79 |
- if ! has_version media-video/rtmpdump; then |
80 |
- elog |
81 |
- elog "Videos or video formats streamed via RTMP protocol can only be" |
82 |
- elog "downloaded when media-video/rtmpdump is installed." |
83 |
- fi |
84 |
- if ! has_version media-video/mplayer && ! has_version media-video/mpv; then |
85 |
- elog |
86 |
- elog "Downloading MMS and RTSP videos requires either media-video/mplayer" |
87 |
- elog "or media-video/mpv to be installed." |
88 |
- fi |
89 |
- if ! has_version media-video/atomicparsley; then |
90 |
- elog |
91 |
- elog "Install media-video/atomicparsley if you want ${PN} to embed thumbnails" |
92 |
- elog "from the metadata into the resulting MP4/M4A files." |
93 |
- fi |
94 |
-} |