Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/
Date: Tue, 28 Nov 2017 06:08:54
Message-Id: 1511849327.0909dd9d0b9176e3454474f095e296422a71a234.jer@gentoo
1 commit: 0909dd9d0b9176e3454474f095e296422a71a234
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 28 06:08:28 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 28 06:08:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0909dd9d
7
8 net-misc/youtube-dl: Remove README.txt installed outside docdir.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 ...7.11.26.ebuild => youtube-dl-2017.11.26-r1.ebuild} | 19 ++++++++++++++++++-
13 1 file changed, 18 insertions(+), 1 deletion(-)
14
15 diff --git a/net-misc/youtube-dl/youtube-dl-2017.11.26.ebuild b/net-misc/youtube-dl/youtube-dl-2017.11.26-r1.ebuild
16 similarity index 71%
17 rename from net-misc/youtube-dl/youtube-dl-2017.11.26.ebuild
18 rename to net-misc/youtube-dl/youtube-dl-2017.11.26-r1.ebuild
19 index 975ce26c347..1ca94c2424e 100644
20 --- a/net-misc/youtube-dl/youtube-dl-2017.11.26.ebuild
21 +++ b/net-misc/youtube-dl/youtube-dl-2017.11.26-r1.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=6
25 PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
26 -inherit bash-completion-r1 distutils-r1
27 +inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
28
29 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
30 HOMEPAGE="https://rg3.github.com/youtube-dl/"
31 @@ -94,4 +94,21 @@ python_install_all() {
32 distutils-r1_python_install_all
33
34 rm -r "${ED}"/usr/etc || die
35 + rm -r "${ED}"/usr/share/doc/youtube_dl || die
36 +
37 + elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
38 + elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
39 + elog
40 + elog "${PN} works fine on its own on most sites. However, if you want"
41 + elog "to convert video/audio, you'll need avconf (media-video/libav) or"
42 + elog "ffmpeg (media-video/ffmpeg). On some sites - most notably YouTube -"
43 + elog "videos can be retrieved in a higher quality format without sound."
44 + elog "${PN} will detect whether avconv/ffmpeg is present and"
45 + elog "automatically pick the best option."
46 +
47 + elog
48 + elog "Videos or video formats streamed via RTMP protocol can only be"
49 + elog "downloaded when rtmpdump (media-video/rtmpdump) is installed."
50 + elog "Downloading MMS and RTSP videos requires either mplayer"
51 + elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed."
52 }